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.h52 FXFT_Face m_Face; variable
/external/pdfium/core/src/fxge/ge/
Dfx_ge_font.cpp15 m_Face = NULL; in CFX_Font()
39 if (m_Face) { in ~CFX_Font()
40 if (FXFT_Get_Face_External_Stream(m_Face)) { in ~CFX_Font()
41 FXFT_Clear_Face_External_Stream(m_Face); in ~CFX_Font()
46 CFX_GEModule::Get()->GetFontMgr()->ReleaseFace(m_Face); in ~CFX_Font()
63 FXFT_Done_Face(m_Face); in DeleteFace()
64 m_Face = NULL; in DeleteFace()
72m_Face = CFX_GEModule::Get()->GetFontMgr()->FindSubstFont(face_name, bTrueType, flags, weight, ita… in LoadSubst()
80 if (m_Face) { in LoadSubst()
81 m_pFontData = FXFT_Get_Face_Stream_Base(m_Face); in LoadSubst()
[all …]
Dfx_ge_text.cpp1034 m_Face = face; in CFX_FaceCache()
1173 FXFT_Get_MM_Var(m_Face, &pMasters); in AdjustMMParams()
1189 int error = FXFT_Set_MM_Design_Coordinates(m_Face, 2, coords); in AdjustMMParams()
1190 …error = FXFT_Load_Glyph(m_Face, glyph_index, FXFT_LOAD_NO_SCALE | FXFT_LOAD_IGNORE_GLOBAL_ADVANCE_… in AdjustMMParams()
1191 … int min_width = FXFT_Get_Glyph_HoriAdvance(m_Face) * 1000 / FXFT_Get_Face_UnitsPerEM(m_Face); in AdjustMMParams()
1193 error = FXFT_Set_MM_Design_Coordinates(m_Face, 2, coords); in AdjustMMParams()
1194 …error = FXFT_Load_Glyph(m_Face, glyph_index, FXFT_LOAD_NO_SCALE | FXFT_LOAD_IGNORE_GLOBAL_ADVANCE_… in AdjustMMParams()
1195 … int max_width = FXFT_Get_Glyph_HoriAdvance(m_Face) * 1000 / FXFT_Get_Face_UnitsPerEM(m_Face); in AdjustMMParams()
1202 FXFT_Free(m_Face, pMasters); in AdjustMMParams()
1203 FXFT_Set_MM_Design_Coordinates(m_Face, 2, coords); in AdjustMMParams()
[all …]
Dtext_int.h94 FXFT_Face m_Face; variable
Dfx_ge_fontmap.cpp1264 m_Face = NULL; in CFontFileFaceInfo()
1274 if (m_Face) { in ~CFontFileFaceInfo()
1275 FXFT_Done_Face(m_Face); in ~CFontFileFaceInfo()
1277 m_Face = NULL; in ~CFontFileFaceInfo()
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font.cpp295 if (m_Font.m_Face == NULL) { in LoadFontDescriptor()
311 if (m_Font.m_Face) { in CheckFontMetrics()
312 m_FontBBox.left = TT2PDF(FXFT_Get_Face_xMin(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
313 m_FontBBox.bottom = TT2PDF(FXFT_Get_Face_yMin(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
314 m_FontBBox.right = TT2PDF(FXFT_Get_Face_xMax(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
315 m_FontBBox.top = TT2PDF(FXFT_Get_Face_yMax(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
316 m_Ascent = TT2PDF(FXFT_Get_Face_Ascender(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
317 m_Descent = TT2PDF(FXFT_Get_Face_Descender(m_Font.m_Face), m_Font.m_Face); in CheckFontMetrics()
384 if (m_Font.m_Face == NULL) { in GetCharTypeWidth()
849 if (m_Font.m_Face == NULL) { in LoadCharMetrics()
[all …]
Dfpdf_font_cid.cpp1011 if (m_Font.m_Face == NULL) { in GetCharBBox()
1015 FXFT_Face face = m_Font.m_Face; in GetCharBBox()
1133 int index = FXFT_Get_Char_Index(m_Font.m_Face, unicode ); in GetGlyphIndex()
1151 …int error = FXFT_Load_Sfnt_Table( m_Font.m_Face, FT_MAKE_TAG('G', 'S', 'U', 'B'), 0, NULL, &length… in GetGlyphIndex()
1156 …int error = FXFT_Load_Sfnt_Table( m_Font.m_Face, FT_MAKE_TAG('G', 'S', 'U', 'B'), 0, m_Font.m_pGsu… in GetGlyphIndex()
1214 FX_BOOL bMSUnicode = FT_UseTTCharmap(m_Font.m_Face, 3, 1); in GlyphFromCharCode()
1217 bMacRoman = FT_UseTTCharmap(m_Font.m_Face, 1, 0); in GlyphFromCharCode()
1232 index = FXFT_Get_Char_Index(m_Font.m_Face, unicode); in GlyphFromCharCode()
1235 …index = !maccode ? FXFT_Get_Name_Index(m_Font.m_Face, (char *)name) : FXFT_Get_Char_Index(m_Font.m… in GlyphFromCharCode()
1237 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.h66 return m_Face; in GetFace()
116 FXFT_Face m_Face; variable
393 FXFT_Face m_Face;
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp742 if (m_Font.m_Face == NULL) { in LoadGlyphPath()