Lines Matching refs:mFace
37 mFace = NULL; 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()
239 FT_Error error = FT_Load_Glyph( mFace, glyph->mGlyphIndex, FT_LOAD_RENDER ); in updateGlyphCache()
245 glyph->mAdvanceX = mFace->glyph->advance.x; in updateGlyphCache()
246 glyph->mAdvanceY = mFace->glyph->advance.y; in updateGlyphCache()
247 glyph->mBitmapLeft = mFace->glyph->bitmap_left; in updateGlyphCache()
248 glyph->mBitmapTop = mFace->glyph->bitmap_top; in updateGlyphCache()
250 FT_Bitmap *bitmap = &mFace->glyph->bitmap; in updateGlyphCache()
286 newGlyph->mGlyphIndex = FT_Get_Char_Index(mFace, glyph); in cacheGlyph()
320 if (mFace) { in ~Font()
321 FT_Done_Face(mFace); in ~Font()