summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2019-11-28 18:08:07 +0900
committerAkira TAGOH <akira@tagoh.org>2019-11-28 18:08:07 +0900
commit8249f871b373db5c6559f8c48242beed612b23a0 (patch)
treea88ed433e93c2df4d3b30a00eaaf70fea7f23e36
parenta4aa66a858f1ecd375c5efe5916398281f73f794 (diff)
Don't add a value for FC_FULLNAME in meta face
FC_FULLNAME is affected by variables and could be different against it. FC_FULLNAME should be dropped from meta face. Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/185
-rw-r--r--src/fcfreetype.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fcfreetype.c b/src/fcfreetype.c
index 9691ba3..f2f5c04 100644
--- a/src/fcfreetype.c
+++ b/src/fcfreetype.c
@@ -1528,6 +1528,8 @@ FcFreeTypeQueryFaceInternal (const FT_Face face,
break;
case TT_NAME_ID_MAC_FULL_NAME:
case TT_NAME_ID_FULL_NAME:
+ if (variable)
+ break;
if (FcDebug () & FC_DBG_SCANV)
printf ("found full (n %2d p %d e %d l 0x%04x)",
sname.name_id, sname.platform_id,