diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2017-09-13 03:27:03 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2017-09-20 13:13:35 -0700 |
commit | a4bd5b7c7a06fe39d1461f9be098af37d364dcc2 (patch) | |
tree | b26e8809c2df9d80806942781b2492ab922785db /fontconfig | |
parent | 819d3a5541b3903bda5d1299d48a6760379cac72 (diff) | |
download | fontconfig-a4bd5b7c7a06fe39d1461f9be098af37d364dcc2.tar.gz |
[varfonts] Change id argument in FcFreeTypeQuery* to unsigned int
Going to use the top bit to query varfonts.
Diffstat (limited to 'fontconfig')
-rw-r--r-- | fontconfig/fcfreetype.h | 2 | ||||
-rw-r--r-- | fontconfig/fontconfig.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fontconfig/fcfreetype.h b/fontconfig/fcfreetype.h index 753fdf9..20b1128 100644 --- a/fontconfig/fcfreetype.h +++ b/fontconfig/fcfreetype.h @@ -51,7 +51,7 @@ FcPatternAddFTFace (FcPattern *p, const char *object, const FT_Face f); FcPublic FcPattern * FcFreeTypeQueryFace (const FT_Face face, const FcChar8 *file, - int id, + unsigned int id, FcBlanks *blanks); _FCFUNCPROTOEND diff --git a/fontconfig/fontconfig.h b/fontconfig/fontconfig.h index c61c502..56091ac 100644 --- a/fontconfig/fontconfig.h +++ b/fontconfig/fontconfig.h @@ -577,10 +577,10 @@ FcDirCacheUnload (FcCache *cache); /* fcfreetype.c */ FcPublic FcPattern * -FcFreeTypeQuery (const FcChar8 *file, int id, FcBlanks *blanks, int *count); +FcFreeTypeQuery (const FcChar8 *file, unsigned int id, FcBlanks *blanks, int *count); FcPublic unsigned int -FcFreeTypeQueryAll(const FcChar8 *file, int id, FcBlanks *blanks, int *count, FcFontSet *set); +FcFreeTypeQueryAll(const FcChar8 *file, unsigned int id, FcBlanks *blanks, int *count, FcFontSet *set); /* fcfs.c */ |