Lines Matching refs:glyphIndex
255 uint32_t glyphIndex; in LoadSimpleFont() local
256 uint32_t currentChar = FXFT_Get_First_Char(pFont->GetFace(), &glyphIndex); in LoadSimpleFont()
257 if (currentChar > kMaxSimpleFontChar || glyphIndex == 0) in LoadSimpleFont()
262 widthsArray->AddNew<CPDF_Number>(pFont->GetGlyphWidth(glyphIndex)); in LoadSimpleFont()
264 FXFT_Get_Next_Char(pFont->GetFace(), currentChar, &glyphIndex); in LoadSimpleFont()
266 if (nextChar > kMaxSimpleFontChar || glyphIndex == 0) in LoadSimpleFont()
322 uint32_t glyphIndex; in LoadCompositeFont() local
323 uint32_t currentChar = FXFT_Get_First_Char(pFont->GetFace(), &glyphIndex); in LoadCompositeFont()
325 if (glyphIndex == 0 || currentChar > kMaxUnicode) in LoadCompositeFont()
334 widths[glyphIndex] = pFont->GetGlyphWidth(glyphIndex); in LoadCompositeFont()
335 to_unicode[glyphIndex] = currentChar; in LoadCompositeFont()
337 FXFT_Get_Next_Char(pFont->GetFace(), currentChar, &glyphIndex); in LoadCompositeFont()
338 if (glyphIndex == 0) in LoadCompositeFont()