Home
last modified time | relevance | path

Searched refs:m_Face (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/core/src/fxge/android/
Dfpf_skiafont.cpp15 , m_Face(NULL) in CFPF_SkiaFont()
23 if (m_Face) { in ~CFPF_SkiaFont()
24 FXFT_Done_Face(m_Face); in ~CFPF_SkiaFont()
44 if (!m_Face) { in GetFamilyName()
47 return CFX_ByteString(FXFT_Get_Face_Family_Name(m_Face)); in GetFamilyName()
51 if (!m_Face) { in GetPsName()
54 return CFX_WideString::FromLocal(FXFT_Get_Postscript_Name(m_Face)); in GetPsName()
58 if (!m_Face) { in GetGlyphIndex()
61 if (FXFT_Select_Charmap(m_Face, FXFT_ENCODING_UNICODE)) { in GetGlyphIndex()
64 return FXFT_Get_Char_Index(m_Face, wUnicode); in GetGlyphIndex()
[all …]
Dfpf_skiafont.h51 FXFT_Face m_Face; variable
/external/pdfium/core/src/fxge/ge/
Dfx_ge_font.cpp15 m_Face = NULL; in CFX_Font()
41 if (m_Face) { in ~CFX_Font()
43 FXFT_Library library = FXFT_Get_Face_FreeType(m_Face); in ~CFX_Font()
44 if (FXFT_Get_Face_External_Stream(m_Face)) { in ~CFX_Font()
45 FXFT_Clear_Face_External_Stream(m_Face); in ~CFX_Font()
51 CFX_GEModule::Get()->GetFontMgr()->ReleaseFace(m_Face); in ~CFX_Font()
68 FXFT_Done_Face(m_Face); in DeleteFace()
69 m_Face = NULL; in DeleteFace()
80m_Face = CFX_GEModule::Get()->GetFontMgr()->FindSubstFont(face_name, bTrueType, flags, weight, ita… in LoadSubst()
88 if (m_Face) { in LoadSubst()
[all …]
Dfx_ge_text.cpp1070 m_Face = face; in CFX_FaceCache()
1261 FXFT_Get_MM_Var(m_Face, &pMasters); in AdjustMMParams()
1277 int error = FXFT_Set_MM_Design_Coordinates(m_Face, 2, coords); in AdjustMMParams()
1278 …error = FXFT_Load_Glyph(m_Face, glyph_index, FXFT_LOAD_NO_SCALE | FXFT_LOAD_IGNORE_GLOBAL_ADVANCE_… in AdjustMMParams()
1279 … int min_width = FXFT_Get_Glyph_HoriAdvance(m_Face) * 1000 / FXFT_Get_Face_UnitsPerEM(m_Face); in AdjustMMParams()
1281 error = FXFT_Set_MM_Design_Coordinates(m_Face, 2, coords); in AdjustMMParams()
1282 …error = FXFT_Load_Glyph(m_Face, glyph_index, FXFT_LOAD_NO_SCALE | FXFT_LOAD_IGNORE_GLOBAL_ADVANCE_… in AdjustMMParams()
1283 … int max_width = FXFT_Get_Glyph_HoriAdvance(m_Face) * 1000 / FXFT_Get_Face_UnitsPerEM(m_Face); in AdjustMMParams()
1290 FXFT_Free(m_Face, pMasters); in AdjustMMParams()
1291 FXFT_Set_MM_Design_Coordinates(m_Face, 2, coords); in AdjustMMParams()
[all …]
Dtext_int.h91 FXFT_Face m_Face; variable
Dfx_ge_fontmap.cpp1306 m_Face = NULL; in CFontFileFaceInfo()
1316 if (m_Face) { in ~CFontFileFaceInfo()
1317 FXFT_Done_Face(m_Face); in ~CFontFileFaceInfo()
1319 m_Face = NULL; in ~CFontFileFaceInfo()
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font.cpp296 if (m_Font.m_Face == NULL) { in LoadFontDescriptor()
312 if (m_Font.m_Face) { in CheckFontMetrics()
313 m_FontBBox.left = TT2PDF(FXFT_Get_Face_xMin(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
314 m_FontBBox.bottom = TT2PDF(FXFT_Get_Face_yMin(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
315 m_FontBBox.right = TT2PDF(FXFT_Get_Face_xMax(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
316 m_FontBBox.top = TT2PDF(FXFT_Get_Face_yMax(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
317 m_Ascent = TT2PDF(FXFT_Get_Face_Ascender(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
318 m_Descent = TT2PDF(FXFT_Get_Face_Descender(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
385 if (m_Font.m_Face == NULL) { in GetCharTypeWidth()
862 if (m_Font.m_Face == NULL) { in LoadCharMetrics()
[all …]
Dfpdf_font_cid.cpp1125 if (m_Font.m_Face == NULL) { in GetCharBBox()
1129 FXFT_Face face = m_Font.m_Face; in GetCharBBox()
1247 int index = FXFT_Get_Char_Index(m_Font.m_Face, unicode ); in GetGlyphIndex()
1265 …int error = FXFT_Load_Sfnt_Table( m_Font.m_Face, FT_MAKE_TAG('G', 'S', 'U', 'B'), 0, NULL, &length… in GetGlyphIndex()
1270 …int error = FXFT_Load_Sfnt_Table( m_Font.m_Face, FT_MAKE_TAG('G', 'S', 'U', 'B'), 0, m_Font.m_pGsu… in GetGlyphIndex()
1328 FX_BOOL bMSUnicode = FT_UseTTCharmap(m_Font.m_Face, 3, 1); in GlyphFromCharCode()
1331 bMacRoman = FT_UseTTCharmap(m_Font.m_Face, 1, 0); in GlyphFromCharCode()
1346 index = FXFT_Get_Char_Index(m_Font.m_Face, unicode); in GlyphFromCharCode()
1349 …index = !maccode ? FXFT_Get_Name_Index(m_Font.m_Face, (char *)name) : FXFT_Get_Char_Index(m_Font.m… in GlyphFromCharCode()
1351 return FXFT_Get_Char_Index(m_Font.m_Face, unicode); in GlyphFromCharCode()
[all …]
Dttgsubtable.cpp432 …int error = FXFT_Load_Sfnt_Table(pFont->m_Face, FT_MAKE_TAG('G', 'S', 'U', 'B'), 0, NULL, &length); in FXGE_CreateGSUBTable()
440 …int error = FXFT_Load_Sfnt_Table(pFont->m_Face, FT_MAKE_TAG('G', 'S', 'U', 'B'), 0, pFont->m_pGsub… in FXGE_CreateGSUBTable()
/external/pdfium/core/include/fxge/
Dfx_font.h68 return m_Face; in GetFace()
118 FXFT_Face m_Face; variable
390 FXFT_Face m_Face;
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp756 if (m_Font.m_Face == NULL) { in LoadGlyphPath()