Commit Graph

15 Commits

Author SHA1 Message Date
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