Home
last modified time | relevance | path

Searched refs:GetFaceRec (Results 1 – 17 of 17) sorted by relevance

/external/pdfium/core/fxge/android/
Dcfpf_skiafont.cpp34 return ByteString(FXFT_Get_Face_Family_Name(GetFaceRec())); in GetFamilyName()
40 return FT_Get_Postscript_Name(GetFaceRec()); in GetPsName()
46 if (FXFT_Select_Charmap(GetFaceRec(), FT_ENCODING_UNICODE)) in GetGlyphIndex()
48 return FT_Get_Char_Index(GetFaceRec(), wUnicode); in GetGlyphIndex()
54 if (FT_Load_Glyph(GetFaceRec(), iGlyphIndex, in GetGlyphWidth()
58 return FPF_EM_ADJUST(FXFT_Get_Face_UnitsPerEM(GetFaceRec()), in GetGlyphWidth()
59 FXFT_Get_Glyph_HoriAdvance(GetFaceRec())); in GetGlyphWidth()
65 return FPF_EM_ADJUST(FXFT_Get_Face_UnitsPerEM(GetFaceRec()), in GetAscent()
66 FXFT_Get_Face_Ascender(GetFaceRec())); in GetAscent()
72 return FPF_EM_ADJUST(FXFT_Get_Face_UnitsPerEM(GetFaceRec()), in GetDescent()
[all …]
Dcfpf_skiafont.h44 FXFT_FaceRec* GetFaceRec() const { return m_Face->GetRec(); } in GetFaceRec() function
/external/pdfium/core/fpdfapi/font/
Dcpdf_type1font.cpp125 if (!m_Font.GetFaceRec()) in LoadGlyphMap()
144 if (FT_UseTTCharmap(m_Font.GetFaceRec(), 3, 0)) { in LoadGlyphMap()
151 FT_Get_Char_Index(m_Font.GetFaceRec(), unicode); in LoadGlyphMap()
169 FXFT_Select_Charmap(m_Font.GetFaceRec(), FT_ENCODING_UNICODE); in LoadGlyphMap()
181 m_Font.GetFaceRec(), m_Encoding.UnicodeFromCharCode(charcode)); in LoadGlyphMap()
187 m_GlyphIndex[charcode] = FT_Get_Char_Index(m_Font.GetFaceRec(), 0x20); in LoadGlyphMap()
199 FT_UseType1Charmap(m_Font.GetFaceRec()); in LoadGlyphMap()
209 FXFT_Get_Name_Index(m_Font.GetFaceRec(), name); in LoadGlyphMap()
213 FT_Get_Char_Index(m_Font.GetFaceRec(), charcode); in LoadGlyphMap()
221 FT_Get_Glyph_Name(m_Font.GetFaceRec(), m_GlyphIndex[charcode], in LoadGlyphMap()
[all …]
Dcpdf_cidfont.cpp384 if (m_Font.GetFaceRec()) { in Load()
386 FXFT_Select_Charmap(m_Font.GetFaceRec(), FT_ENCODING_UNICODE); in Load()
388 FT_UseCIDCharmap(m_Font.GetFaceRec(), m_pCMap->GetCoding()); in Load()
428 FXFT_FaceRec* face = m_Font.GetFaceRec(); in GetCharBBox()
556 FXFT_FaceRec* face = m_Font.GetFaceRec(); in GetGlyphIndex()
625 FXFT_FaceRec* face = m_Font.GetFaceRec(); in GlyphFromCharCode()
701 if (!m_Font.GetFaceRec()) in GlyphFromCharCode()
711 !FXFT_Get_Face_Charmap(m_Font.GetFaceRec())) { in GlyphFromCharCode()
714 if (FXFT_Get_Charmap_Encoding(FXFT_Get_Face_Charmap(m_Font.GetFaceRec())) == in GlyphFromCharCode()
Dcpdf_simplefont.cpp57 if (!m_Font.GetFaceRec()) in LoadCharMetrics()
74 FXFT_FaceRec* face = m_Font.GetFaceRec(); in LoadCharMetrics()
225 if (!m_Font.GetFaceRec()) in LoadCommon()
Dcpdf_font.cpp227 FXFT_FaceRec* face = m_Font.GetFaceRec(); in CheckFontMetrics()
399 FT_Get_Char_Index(m_FontFallbacks[fallbackFont]->GetFaceRec(), unicode); in FallbackGlyphFromCharcode()
Dcpdf_font.h104 bool HasFace() const { return !!m_Font.GetFaceRec(); } in HasFace()
Dcpdf_truetypefont.cpp41 FXFT_FaceRec* face = m_Font.GetFaceRec(); in LoadGlyphMap()
/external/pdfium/core/fxge/
Dcfx_glyphcache.cpp110 if (!GetFaceRec()) in RenderGlyph()
147 int load_flags = (GetFaceRec()->face_flags & FT_FACE_FLAG_SFNT) in RenderGlyph()
150 int error = FT_Load_Glyph(GetFaceRec(), glyph_index, load_flags); in RenderGlyph()
157 error = FT_Load_Glyph(GetFaceRec(), glyph_index, load_flags); in RenderGlyph()
180 FT_Outline_Embolden(FXFT_Get_Glyph_Outline(GetFaceRec()), in RenderGlyph()
185 error = FXFT_Render_Glyph(GetFaceRec(), anti_alias); in RenderGlyph()
189 int bmwidth = FXFT_Get_Bitmap_Width(FXFT_Get_Glyph_Bitmap(GetFaceRec())); in RenderGlyph()
190 int bmheight = FXFT_Get_Bitmap_Rows(FXFT_Get_Glyph_Bitmap(GetFaceRec())); in RenderGlyph()
195 FXFT_Get_Glyph_BitmapLeft(GetFaceRec()), in RenderGlyph()
196 FXFT_Get_Glyph_BitmapTop(GetFaceRec())); in RenderGlyph()
[all …]
Dcfx_unicodeencodingex.cpp48 if (FXFT_Select_Charmap(pFont->GetFaceRec(), nEncodingID)) in FXFM_CreateFontEncoding()
62 FXFT_FaceRec* face = m_pFont->GetFaceRec(); in GlyphFromCharCode()
91 FXFT_FaceRec* face = m_pFont->GetFaceRec(); in CharCodeFromUnicode()
106 if (!pFont || !pFont->GetFaceRec()) in FX_CreateFontEncodingEx()
Dcfx_unicodeencoding.cpp20 FXFT_FaceRec* face = m_pFont->GetFaceRec(); in GlyphFromCharCode()
Dcfx_glyphcache.h48 FXFT_FaceRec* GetFaceRec() { return m_Face ? m_Face->GetRec() : nullptr; } in GetFaceRec() function
Dcfx_font.h55 FXFT_FaceRec* GetFaceRec() const { in GetFaceRec() function
Dcfx_renderdevice.cpp883 if (pFont->GetFaceRec()) { in DrawNormalText()
910 if (pFont->GetFaceRec()) in DrawNormalText()
/external/pdfium/fpdfsdk/
Dfpdf_edittext.cpp76 if (FXFT_Is_Face_fixedwidth(pFont->GetFaceRec())) in LoadFontDesc()
80 if (FXFT_Is_Face_Italic(pFont->GetFaceRec())) in LoadFontDesc()
82 if (FXFT_Is_Face_Bold(pFont->GetFaceRec())) in LoadFontDesc()
285 FT_Get_First_Char(pFont->GetFaceRec(), &dwGlyphIndex); in LoadSimpleFont()
298 FT_Get_Next_Char(pFont->GetFaceRec(), dwCurrentChar, &dwGlyphIndex); in LoadSimpleFont()
357 FT_Get_First_Char(pFont->GetFaceRec(), &dwGlyphIndex); in LoadCompositeFont()
373 FT_Get_Next_Char(pFont->GetFaceRec(), dwCurrentChar, &dwGlyphIndex); in LoadCompositeFont()
/external/pdfium/xfa/fgas/font/
Dcfgas_gefont.cpp96 return m_pFont->GetFaceRec() && InitFont(); in LoadFontInternal()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp889 if (pFont->GetFaceRec()) in DrawText()
1174 pFont->GetFaceRec() ? pFont->GetDeviceCache() : nullptr; in FontChanged()