fix allow color font

This commit is contained in:
Dejan Kutle 2022-05-25 13:25:16 +02:00
parent 3a6bc67fbd
commit dc9d624e8b
No known key found for this signature in database
GPG Key ID: 909D771047A9F6D8

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);