#ifdef on FC_LCD_FILTER.
authorJan Djärv <jan.h.d@swipnet.se>
Tue, 17 Nov 2009 09:53:45 +0000 (09:53 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Tue, 17 Nov 2009 09:53:45 +0000 (09:53 +0000)
commita6eb20d8fe270d70a28971719935479f6fa99c31
tree23046d835e1912bb31a55d4fe02df109e80ff5c6
parentad413b3564689010ec221562810e5bc373d8c60d
#ifdef on FC_LCD_FILTER.

* xftfont.c (xftfont_fix_match): Older versions of fontconfig does
not have FC_LCD_FILTER.  #ifdef it.

* xsettings.c (parse_xft_settings, apply_xft_settings): Ditto

* xftfont.c (xftfont_fix_match): New function.
(xftfont_open): Call XftDefaultSubstitute before XftFontMatch.
Call xftfont_fix_match after XftFontMatch.
src/ChangeLog
src/xftfont.c
src/xsettings.c