Commit Graph

18 Commits

Author SHA1 Message Date
phi d5c5708110 Use argument to select between two drag methods 2018-01-22 09:46:38 +01:00
Bert Münnich 3c7d6f3528 Replace utf8codepoint with Chris Wellons' utf8_decode
Code under a different license should be kept in a separate file. This
implemention is a single header file with ~65 lines, so it better fits this
requirement.
2017-12-07 21:19:53 +01:00
Bert Münnich 69b2d3cafd win_textwidth is no longer needed outside window.c 2017-12-07 14:19:35 +01:00
Bert Münnich 30e2356622 Remove obsolete files[].base 2017-12-07 14:16:32 +01:00
Squibby eb96c71725 Try to match a fallback font if needed
Fixes #276

Instead of rendering the entire filename at once, Xft will let us do it
character by character. This will allow sxiv to query fontconfig for
a font that can provide any missing codepoints, if needed.

A known issue of this patch is that the "..." dots rendering will not
work properly for very long multibyte filenames. That is because we
cannot easily predict the final width of the rendered filename before
drawing it. I couldn't figure out a clean way to deal with this, so I
ended up just truncating the offending filenames.
2017-12-06 20:39:07 -03:00
Bert Münnich 148026007c One header file for type definitions and function declarations 2017-10-16 21:10:35 +02:00
Bert 8f4af658ae Refactored, new files util.[ch], C89 2011-02-03 10:15:01 +01:00
Bert f0e9ec733a Replaced option -W with -q, seems more natural 2011-01-30 22:23:36 +01:00
Bert 03bfe1015e Explicitly enable printing of warnings 2011-01-30 16:39:16 +01:00
Bert bce599038c Moved VERSION macro into Makefile 2011-01-23 17:27:44 +01:00
Bert b7b8705c27 Unstable version number 2011-01-23 12:37:47 +01:00
Bert 60a9ed7567 version 0.1 2011-01-21 15:30:51 +01:00
Bert bb12b8c0fb First try on zooming 2011-01-20 23:22:00 +01:00
Bert a7e30bb081 Option handling, merged app.c & events.c into main.c 2011-01-19 14:07:45 +01:00
Bert 79c7e6178e Render image on window 2011-01-18 20:11:28 +01:00
Bert bb4edc756c Renamed FATAL to DIE 2011-01-18 17:21:59 +01:00
Bert bbe7ae0470 WARN and FATAL macros 2011-01-17 16:42:13 +01:00
Bert e7bc3bb71b Non-working skeleton 2011-01-17 14:57:59 +01:00