[Fontconfig] fontconfig: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Nov 28 09:38:11 UTC 2019


 src/fcfreetype.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 8249f871b373db5c6559f8c48242beed612b23a0
Author: Akira TAGOH <akira at tagoh.org>
Date:   Thu Nov 28 18:08:07 2019 +0900

    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

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,


More information about the Fontconfig mailing list