diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2023-05-01 04:04:37 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2023-05-01 18:21:45 -0400 |
commit | 4e4210c86019b42c3819cc18b59f86752fcd8b13 (patch) | |
tree | 1f4ba5b53165b022cd6b5db06b5e9046830d0af5 | |
parent | be61145144f61674d1c3e6130fabf3a63d9c6529 (diff) | |
download | xorg-lib-libXft-master.tar.gz |
-rw-r--r-- | src/xftfreetype.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xftfreetype.c b/src/xftfreetype.c index 9fa91db..0dbc1ba 100644 --- a/src/xftfreetype.c +++ b/src/xftfreetype.c @@ -849,7 +849,11 @@ XftFontOpenInfo (Display *dpy, if (!(face->face_flags & FT_FACE_FLAG_SCALABLE)) antialias = FcFalse; +#ifdef FT_HAS_SVG color = (FT_HAS_COLOR(face) && !FT_HAS_SVG(face)) ? FcTrue : FcFalse; +#else + color = FT_HAS_COLOR(face) ? FcTrue : FcFalse; +#endif /* * Find the appropriate picture format |