Home | History | Annotate | Download | only in rs

Lines Matching refs:mFace

39     mFace = nullptr;
51 error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace);
53 error = FT_New_Face(mRSC->mStateFont.getLib(), name, 0, &mFace);
65 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0);
71 mHasKerning = FT_HAS_KERNING(mFace);
241 FT_Error error = FT_Load_Glyph( mFace, glyph->mGlyphIndex, FT_LOAD_RENDER );
247 glyph->mAdvanceX = mFace->glyph->advance.x;
248 glyph->mAdvanceY = mFace->glyph->advance.y;
249 glyph->mBitmapLeft = mFace->glyph->bitmap_left;
250 glyph->mBitmapTop = mFace->glyph->bitmap_top;
252 FT_Bitmap *bitmap = &mFace->glyph->bitmap;
288 newGlyph->mGlyphIndex = FT_Get_Char_Index(mFace, glyph);
322 if (mFace) {
323 FT_Done_Face(mFace);