Lines Matching refs:mFace
37 mFace = nullptr; in Font()
49 … error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace); in init()
51 error = FT_New_Face(mRSC->mStateFont.getLib(), name, 0, &mFace); in init()
63 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0); in init()
69 mHasKerning = FT_HAS_KERNING(mFace); in init()
240 FT_Error error = FT_Load_Glyph( mFace, glyph->mGlyphIndex, FT_LOAD_RENDER ); in updateGlyphCache()
246 glyph->mAdvanceX = mFace->glyph->advance.x; in updateGlyphCache()
247 glyph->mAdvanceY = mFace->glyph->advance.y; in updateGlyphCache()
248 glyph->mBitmapLeft = mFace->glyph->bitmap_left; in updateGlyphCache()
249 glyph->mBitmapTop = mFace->glyph->bitmap_top; in updateGlyphCache()
251 FT_Bitmap *bitmap = &mFace->glyph->bitmap; in updateGlyphCache()
287 newGlyph->mGlyphIndex = FT_Get_Char_Index(mFace, glyph); in cacheGlyph()
321 if (mFace) { in ~Font()
322 FT_Done_Face(mFace); in ~Font()