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
This commit is contained in:
Akira TAGOH 2019-11-28 18:08:07 +09:00
parent a4aa66a858
commit 8249f871b3
1 changed files with 2 additions and 0 deletions

View File

@ -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,