Remove a few unused blanks parameters

The entire blanks thingy is now unused.  We should remove more of it.
This commit is contained in:
Behdad Esfahbod 2017-08-04 15:00:55 +01:00
parent e517886ded
commit f309819d77
1 changed files with 4 additions and 4 deletions

View File

@ -2201,7 +2201,7 @@ FcFreeTypeCharIndex (FT_Face face, FcChar32 ucs4)
static FcBool static FcBool
FcFreeTypeCheckGlyph (FT_Face face, FcFreeTypeCheckGlyph (FT_Face face,
FcChar32 ucs4, FcChar32 ucs4,
FT_UInt glyph, FcBlanks *blanks, FT_UInt glyph,
FT_Pos *advance) FT_Pos *advance)
{ {
FT_Int load_flags = FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH | FT_LOAD_NO_SCALE | FT_LOAD_NO_HINTING; FT_Int load_flags = FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH | FT_LOAD_NO_SCALE | FT_LOAD_NO_HINTING;
@ -2290,7 +2290,7 @@ FcFreeTypeCharSetAndSpacing (FT_Face face, FcBlanks *blanks, int *spacing)
ucs4 = FT_Get_First_Char (face, &glyph); ucs4 = FT_Get_First_Char (face, &glyph);
while (glyph != 0) while (glyph != 0)
{ {
if (FcFreeTypeCheckGlyph (face, ucs4, glyph, blanks, &advance)) if (FcFreeTypeCheckGlyph (face, ucs4, glyph, &advance))
{ {
if (advance) if (advance)
{ {
@ -2376,7 +2376,7 @@ FcFreeTypeCharSetAndSpacing (FT_Face face, FcBlanks *blanks, int *spacing)
{ {
ucs4 = FcGlyphNameToUcs4 (name_buf); ucs4 = FcGlyphNameToUcs4 (name_buf);
if (ucs4 != 0xffff && if (ucs4 != 0xffff &&
FcFreeTypeCheckGlyph (face, ucs4, glyph, blanks, &advance)) FcFreeTypeCheckGlyph (face, ucs4, glyph, &advance))
{ {
if (advance) if (advance)
{ {
@ -2419,7 +2419,7 @@ FcFreeTypeCharSetAndSpacing (FT_Face face, FcBlanks *blanks, int *spacing)
if (has_char && !has_bit) if (has_char && !has_bit)
{ {
if (!FcFreeTypeCheckGlyph (face, ucs4, glyph, blanks, &advance)) if (!FcFreeTypeCheckGlyph (face, ucs4, glyph, &advance))
printf ("Bitmap missing broken char 0x%x\n", ucs4); printf ("Bitmap missing broken char 0x%x\n", ucs4);
else else
printf ("Bitmap missing char 0x%x\n", ucs4); printf ("Bitmap missing char 0x%x\n", ucs4);