Merge pull request #12 from kronikpillow/fix-allow-color-font

fix allow color font
This commit is contained in:
Luke Smith 2022-05-25 15:18:47 +00:00 committed by GitHub
commit b60e438b06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
drw.c
View File

@ -339,7 +339,6 @@ drw_text(Drw *drw, int x, int y, unsigned int w, unsigned int h, unsigned int lp
fcpattern = FcPatternDuplicate(drw->fonts->pattern);
FcPatternAddCharSet(fcpattern, FC_CHARSET, fccharset);
FcPatternAddBool(fcpattern, FC_SCALABLE, FcTrue);
FcPatternAddBool(fcpattern, FC_COLOR, FcFalse);
FcConfigSubstitute(NULL, fcpattern, FcMatchPattern);
FcDefaultSubstitute(fcpattern);