Home | History | Annotate | Download | only in font

Lines Matching refs:m_pFont

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