Commit 48e9e5f4 authored by Behdad Esfahbod's avatar Behdad Esfahbod

Use FT_HAS_COLOR

parent 5a46d572
......@@ -1267,7 +1267,7 @@ FcFreeTypeQueryFaceInternal (const FT_Face face,
if (!FcPatternAddBool (pat, FC_OUTLINE, has_outline))
goto bail1;
has_color = !!(face->face_flags & FT_FACE_FLAG_COLOR);
has_color = FT_HAS_COLOR (face);
if (!FcPatternAddBool (pat, FC_COLOR, has_color))
goto bail1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment