Lines Matching refs:m_pFont
61 m_pFont(nullptr), in CFGAS_GEFont()
68 delete m_pFont; in ~CFGAS_GEFont()
75 if (m_pFont) in LoadFontInternal()
83 m_pFont = new CFX_Font; in LoadFontInternal()
91 m_pFont->LoadSubst(csFontFamily, true, dwFontStyles, iWeight, 0, wCodePage, in LoadFontInternal()
93 if (!m_pFont->GetFace()) in LoadFontInternal()
100 if (m_pFont || !pExternalFont) in LoadFontInternal()
103 m_pFont = pExternalFont; in LoadFontInternal()
109 if (m_pFont || !pInternalFont) in LoadFontInternal()
112 m_pFont = pInternalFont.release(); in LoadFontInternal()
118 if (!m_pFont) in InitFont()
124 m_pFontEncoding = FX_CreateFontEncodingEx(m_pFont, FXFM_ENCODING_NONE); in InitFont()
129 if (!m_pFont->GetSubstFont() || in GetFamilyName()
130 m_pFont->GetSubstFont()->m_Family.GetLength() == 0) { in GetFamilyName()
131 return WideString::FromLocal(m_pFont->GetFamilyName().AsStringView()); in GetFamilyName()
134 m_pFont->GetSubstFont()->m_Family.AsStringView()); in GetFamilyName()
138 ASSERT(m_pFont); in GetFontStyles()
143 auto* pSubstFont = m_pFont->GetSubstFont(); in GetFontStyles()
150 if (m_pFont->IsBold()) in GetFontStyles()
152 if (m_pFont->IsItalic()) in GetFontStyles()
174 iWidth = m_pFont->GetGlyphWidth(iGlyph); in GetCharWidth()
205 if (!m_pFont->GetGlyphBBox(iGlyph, rtBBox)) in GetCharBBox()
216 if (!m_pFont->GetBBox(rt)) in GetBBox()
285 return m_pFont->GetAscent(); in GetAscent()
289 return m_pFont->GetDescent(); in GetDescent()