• Jan Djärv's avatar
    #ifdef on FC_LCD_FILTER. · a6eb20d8
    Jan Djärv authored
    * 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.
    a6eb20d8
xsettings.c 17.8 KB