Home
last modified time | relevance | path

Searched refs:pSubstFont (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/core/fxge/
Dcfx_glyphcache.cpp119 const CFX_SubstFont* pSubstFont = pFont->GetSubstFont(); in RenderGlyph() local
120 if (pSubstFont) { in RenderGlyph()
121 bUseCJKSubFont = pSubstFont->m_bSubstCJK && bFontStyle; in RenderGlyph()
124 skew = pSubstFont->m_bItalicCJK ? -15 : 0; in RenderGlyph()
126 skew = pSubstFont->m_ItalicAngle; in RenderGlyph()
141 if (pSubstFont->m_bFlagMM) { in RenderGlyph()
163 weight = pSubstFont->m_WeightCJK; in RenderGlyph()
165 weight = pSubstFont ? pSubstFont->m_Weight : 0; in RenderGlyph()
166 if (pSubstFont && !pSubstFont->m_bFlagMM && weight > 400) { in RenderGlyph()
171 if (pSubstFont->m_Charset == FX_CHARSET_ShiftJIS) in RenderGlyph()
[all …]
Dcfx_fontmapper.cpp348 RetainPtr<CFX_Face> CFX_FontMapper::UseInternalSubst(CFX_SubstFont* pSubstFont, in UseInternalSubst() argument
364 pSubstFont->m_bFlagMM = true; in UseInternalSubst()
365 pSubstFont->m_ItalicAngle = italic_angle; in UseInternalSubst()
367 pSubstFont->m_Weight = weight; in UseInternalSubst()
369 pSubstFont->m_Weight = pSubstFont->m_Weight * 4 / 5; in UseInternalSubst()
370 pSubstFont->m_Family = "Chrome Serif"; in UseInternalSubst()
377 pSubstFont->m_Family = "Chrome Sans"; in UseInternalSubst()
391 CFX_SubstFont* pSubstFont) { in FindSubstFont() argument
405 pSubstFont->m_Family = "Chrome Symbol"; in FindSubstFont()
406 pSubstFont->m_Charset = FX_CHARSET_Symbol; in FindSubstFont()
[all …]
Dcfx_fontmapper.h63 CFX_SubstFont* pSubstFont);
85 RetainPtr<CFX_Face> UseInternalSubst(CFX_SubstFont* pSubstFont,
Dcfx_fontmgr.cpp106 CFX_SubstFont* pSubstFont) { in FindSubstFont() argument
108 italic_angle, CharsetCP, pSubstFont); in FindSubstFont()
Dcfx_fontmgr.h80 CFX_SubstFont* pSubstFont);
/external/pdfium/xfa/fgas/font/
Dcfgas_gefont.cpp146 auto* pSubstFont = m_pFont->GetSubstFont(); in GetFontStyles() local
147 if (pSubstFont) { in GetFontStyles()
148 if (pSubstFont->m_Weight == FXFONT_FW_BOLD) in GetFontStyles()
/external/pdfium/core/fpdfdoc/
Dcba_fontmap.cpp177 if (const CFX_SubstFont* pSubstFont = m_pDefaultFont->GetSubstFont()) { in Initialize() local
178 nCharset = pSubstFont->m_Charset; in Initialize()