fontconfig: Branch 'master'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 src/fcfreetype.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c0dc76268bb278c4bd123afbfb3409be64d0ed75
Author: Akira TAGOH <akira@xxxxxxxxx>
Date:   Tue Jun 18 05:55:21 2019 +0000

    Fix a typo on masking face id
    
    Most of functionality should be moved to FcFreeTypeQueryAll()
    for varfonts now though, if doing the same to FcFreeTypeQuery()
    returns Null pattern because of inappropriate masking.
    
    This might be not that big deal for varfonts support. but
    
    Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/162
    
    Reported by Kevin Scott

diff --git a/src/fcfreetype.c b/src/fcfreetype.c
index cb79f20..d528544 100644
--- a/src/fcfreetype.c
+++ b/src/fcfreetype.c
@@ -2135,7 +2135,7 @@ FcFreeTypeQuery(const FcChar8	*file,
     if (FT_Init_FreeType (&ftLibrary))
 	return NULL;
 
-    if (FT_New_Face (ftLibrary, (char *) file, id & 0x7FFFFFFFF, &face))
+    if (FT_New_Face (ftLibrary, (char *) file, id & 0x7FFFFFFF, &face))
 	goto bail;
 
     if (count)
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/fontconfig




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux