Home
last modified time | relevance | path

Searched refs:fFace (Results 1 – 3 of 3) sorted by relevance

/external/icu4c/samples/layout/
DGnomeFontInstance.cpp55 fFace = NULL; in GnomeFontInstance()
58 error = FT_New_Face(engine, fontPathName, 0, &fFace); in GnomeFontInstance()
70 error = FT_Set_Char_Size(fFace, 0, pointSize << 6, 92, 92); in GnomeFontInstance()
72 fCairoFace = cairo_ft_font_face_create_for_ft_face(fFace, 0); in GnomeFontInstance()
74 fUnitsPerEM = fFace->units_per_EM; in GnomeFontInstance()
76 fAscent = (le_int32) (yUnitsToPoints(fFace->ascender) * fDeviceScaleY); in GnomeFontInstance()
77 fDescent = (le_int32) -(yUnitsToPoints(fFace->descender) * fDeviceScaleY); in GnomeFontInstance()
78 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance()
94 if (fFace != NULL) { in ~GnomeFontInstance()
95 FT_Done_Face(fFace); in ~GnomeFontInstance()
[all …]
DGnomeFontInstance.h51 FT_Face fFace;
/external/skia/src/ports/
DSkFontHost_FreeType.cpp83 FT_Face fFace; // reference to shared face in gFaceRecHead member in SkScalerContext_FreeType
99 FT_Face fFace; member
159 SkASSERT(rec->fFace); in ref_ft_face()
190 FT_Error err = FT_Open_Face(gFTLibrary, &args, 0, &rec->fFace); in ref_ft_face()
197 SkASSERT(rec->fFace); in ref_ft_face()
211 if (rec->fFace == face) { in unref_ft_face()
246 fFace = NULL; in SkScalerContext_FreeType()
251 fFace = fFaceRec->fFace; in SkScalerContext_FreeType()
334 err = FT_New_Size(fFace, &fFTSize); in SkScalerContext_FreeType()
338 fFace = NULL; in SkScalerContext_FreeType()
[all …]