Home
last modified time | relevance | path

Searched refs:m_Font (Results 1 – 10 of 10) sorted by relevance

/external/pdfium/core/fpdfapi/font/
Dcpdf_truetypefont.cpp38 if (!m_Font.GetFace()) in LoadGlyphMap()
42 if (m_pFontFile && m_Font.GetFace()->num_charmaps > 0 && in LoadGlyphMap()
48 for (int i = 0; i < FXFT_Get_Face_CharmapCount(m_Font.GetFace()); i++) { in LoadGlyphMap()
50 FXFT_Get_Face_Charmaps(m_Font.GetFace())[i]); in LoadGlyphMap()
69 if (!FXFT_Has_Glyph_Names(m_Font.GetFace()) && in LoadGlyphMap()
70 (!m_Font.GetFace()->num_charmaps || !m_Font.GetFace()->charmaps)) { in LoadGlyphMap()
85 bool bMSUnicode = FT_UseTTCharmap(m_Font.GetFace(), 3, 1); in LoadGlyphMap()
90 bMacRoman = FT_UseTTCharmap(m_Font.GetFace(), 1, 0); in LoadGlyphMap()
91 bMSSymbol = !bMacRoman && FT_UseTTCharmap(m_Font.GetFace(), 3, 0); in LoadGlyphMap()
93 bMSSymbol = FT_UseTTCharmap(m_Font.GetFace(), 3, 0); in LoadGlyphMap()
[all …]
Dcpdf_type1font.cpp115 if (!m_Font.GetFace()) in LoadGlyphMap()
123 if (!m_Font.GetPlatformFont()) { in LoadGlyphMap()
124 if (m_Font.GetPsName() == "DFHeiStd-W5") in LoadGlyphMap()
127 m_Font.SetPlatformFont( in LoadGlyphMap()
128 quartz2d.CreateFont(m_Font.GetFontData(), m_Font.GetSize())); in LoadGlyphMap()
129 if (!m_Font.GetPlatformFont()) in LoadGlyphMap()
133 if (!IsEmbedded() && (m_Base14Font < 12) && m_Font.IsTTFont()) { in LoadGlyphMap()
134 if (FT_UseTTCharmap(m_Font.GetFace(), 3, 0)) { in LoadGlyphMap()
141 FXFT_Get_Char_Index(m_Font.GetFace(), unicode); in LoadGlyphMap()
159 FXFT_Select_Charmap(m_Font.GetFace(), FXFT_ENCODING_UNICODE); in LoadGlyphMap()
[all …]
Dcpdf_cidfont.cpp383 if (m_Font.GetFace()) { in Load()
385 FXFT_Select_Charmap(m_Font.GetFace(), FXFT_ENCODING_UNICODE); in Load()
387 FT_UseCIDCharmap(m_Font.GetFace(), m_pCMap->m_Coding); in Load()
437 FXFT_Face face = m_Font.GetFace(); in GetCharBBox()
560 FXFT_Face face = m_Font.GetFace(); in GetGlyphIndex()
571 if (!m_Font.GetSubData()) { in GetGlyphIndex()
576 m_Font.SetSubData(FX_Alloc(uint8_t, length)); in GetGlyphIndex()
579 m_Font.GetSubData(), nullptr); in GetGlyphIndex()
580 if (error || !m_Font.GetSubData()) in GetGlyphIndex()
584 m_pTTGSUBTable->LoadGSUBTable((FT_Bytes)m_Font.GetSubData()); in GetGlyphIndex()
[all …]
Dcpdf_simplefont.cpp37 if (!m_Font.GetFace()) in LoadCharMetrics()
54 FXFT_Face face = m_Font.GetFace(); in LoadCharMetrics()
139 m_Font.IsTTFont()); in LoadCommon()
142 if (!m_Font.GetFace()) in LoadCommon()
186 m_Font.LoadSubst(m_BaseFont, IsTrueTypeFont(), m_Flags, in LoadSubstFont()
Dcpdf_font.h64 CFX_SubstFont* GetSubstFont() const { return m_Font.GetSubstFont(); } in GetSubstFont()
68 FXFT_Face GetFace() const { return m_Font.GetFace(); } in GetFace()
82 CFX_Font m_Font; variable
Dcpdf_font.cpp131 return pCIDFont ? pCIDFont->IsVertWriting() : m_Font.IsVertical(); in IsVertWriting()
221 if (!m_Font.LoadEmbedded(pFontData, dwFontSize)) { in LoadFontDescriptor()
231 FXFT_Face face = m_Font.GetFace(); in CheckFontMetrics()
/external/pdfium/core/fpdfapi/render/
Dcpdf_textrenderer.cpp44 ? &pFont->m_Font in DrawTextPath()
55 auto* font = fontPosition == -1 ? &pFont->m_Font in DrawTextPath()
149 ? &pFont->m_Font in DrawNormalText()
159 auto* font = fontPosition == -1 ? &pFont->m_Font in DrawNormalText()
Dcpdf_renderstatus.cpp1998 ? &pFont->m_Font in DrawTextPathWithPattern()
/external/pdfium/fpdfsdk/
Dfpdfedit_embeddertest.cpp454 uint8_t* data = times_bold->m_Font.GetFontData(); in TEST_F()
455 uint32_t size = times_bold->m_Font.GetSize(); in TEST_F()
/external/pdfium/xfa/fxfa/app/
Dxfa_fontmgr.cpp1852 return CFGAS_GEFont::LoadFont(&pPDFFont->m_Font, pFDEFontMgr); in FindFont()