summaryrefslogtreecommitdiff
path: root/src/fcfreetype.c
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2019-06-18 05:55:21 +0000
committerAkira TAGOH <akira@tagoh.org>2019-06-18 05:58:17 +0000
commitc0dc76268bb278c4bd123afbfb3409be64d0ed75 (patch)
tree5e1e40d85b21b52a3c4eac23d33eceed3e62de85 /src/fcfreetype.c
parenta919700fbde28c29ccdb1d2a8bceba80ade19e73 (diff)
downloadfontconfig-c0dc76268bb278c4bd123afbfb3409be64d0ed75.tar.gz
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
Diffstat (limited to 'src/fcfreetype.c')
-rw-r--r--src/fcfreetype.c2
1 files changed, 1 insertions, 1 deletions
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)