Home
last modified time | relevance | path

Searched refs:m_pFont (Results 1 – 25 of 25) sorted by relevance

/external/pdfium/xfa/fgas/font/
Dcfgas_gefont.cpp61 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()
[all …]
Dcfgas_gefont.h50 CFX_Font* GetDevFont() const { return m_pFont; } in GetDevFont()
83 CFX_Font* m_pFont; variable
/external/pdfium/core/fpdfapi/page/
Dcpdf_textstate.cpp21 return m_Ref.GetObject()->m_pFont; in GetFont()
93 : m_pFont(nullptr), in TextData()
106 : m_pFont(that.m_pFont), in TextData()
118 if (m_pDocument && m_pFont) in TextData()
119 m_pFont = m_pDocument->GetPageData()->GetFont(m_pFont->GetFontDict()); in TextData()
129 m_pFont = pFont; in SetFont()
149 if (!m_pDocument || !m_pFont) in ReleaseFont()
154 pPageData->ReleaseFont(m_pFont->GetFontDict()); in ReleaseFont()
Dcpdf_textstate.h74 CPDF_Font* m_pFont; variable
/external/pdfium/xfa/fgas/layout/
Dcfx_break.cpp38 m_pFont(nullptr), in CFX_Break()
78 if (!pFont || pFont == m_pFont) in SetFont()
82 m_pFont = pFont; in SetFont()
113 if (!m_pFont || m_wDefChar == 0xFEFF) in FontChanged()
116 m_pFont->GetCharWidth(m_wDefChar, m_iDefChar); in FontChanged()
130 if (m_wDefChar == 0xFEFF || !m_pFont) in SetDefaultChar()
133 m_pFont->GetCharWidth(m_wDefChar, m_iDefChar); in SetDefaultChar()
Dcfx_rtfbreak.cpp68 ASSERT(m_pFont && m_pCurLine); in AppendChar()
125 if (!m_pFont->GetCharWidth(pCurChar->char_code(), iCharWidth)) in AppendChar_Combination()
194 if (!m_pFont->GetCharWidth(wForm, iCharWidth) && in AppendChar_Arabic()
195 !m_pFont->GetCharWidth(pLastChar->char_code(), iCharWidth)) { in AppendChar_Arabic()
209 if (!m_pFont->GetCharWidth(wForm, iCharWidth) && in AppendChar_Arabic()
210 !m_pFont->GetCharWidth(pCurChar->char_code(), iCharWidth)) { in AppendChar_Arabic()
229 if (!m_pFont->GetCharWidth(wForm, iCharWidth)) in AppendChar_Others()
Dcfx_break.h84 RetainPtr<CFGAS_GEFont> m_pFont; variable
Dcfx_txtbreak.cpp81 if (!m_pFont->GetCharWidth(wForm, iCharWidth)) in AppendChar_Combination()
140 m_pFont->GetCharWidth(wForm, iCharWidth); in AppendChar_Arabic()
159 m_pFont->GetCharWidth(wForm, iCharWidth); in AppendChar_Arabic()
186 if (!m_pFont->GetCharWidth(wForm, iCharWidth)) in AppendChar_Others()
/external/pdfium/core/fxge/
Dcfx_unicodeencoding.cpp14 CFX_UnicodeEncoding::CFX_UnicodeEncoding(CFX_Font* pFont) : m_pFont(pFont) {} in CFX_UnicodeEncoding()
19 FXFT_Face face = m_pFont->GetFace(); in GlyphFromCharCode()
26 if (m_pFont->GetSubstFont() && in GlyphFromCharCode()
27 m_pFont->GetSubstFont()->m_Charset == FX_CHARSET_Symbol) { in GlyphFromCharCode()
Dcfx_unicodeencodingex.cpp45 FXFT_Face face = m_pFont->GetFace(); in GlyphFromCharCode()
74 FXFT_Face face = m_pFont->GetFace(); in CharCodeFromUnicode()
Dcfx_unicodeencoding.h42 CFX_Font* m_pFont; // Unowned, not nullptr.
/external/pdfium/fxbarcode/oned/
DBC_OnedUPCAWriter.cpp157 CalcTextInfo(tempStr, &charpos[1], m_pFont.Get(), strWidth, iFontSize, blank); in ShowChars()
164 device->DrawNormalText(iLen, &charpos[1], m_pFont.Get(), in ShowChars()
170 CalcTextInfo(tempStr, &charpos[6], m_pFont.Get(), strWidth, iFontSize, blank); in ShowChars()
178 device->DrawNormalText(iLen, &charpos[6], m_pFont.Get(), in ShowChars()
187 CalcTextInfo(tempStr, charpos.data(), m_pFont.Get(), strWidth, iFontSize, in ShowChars()
194 device->DrawNormalText(iLen, charpos.data(), m_pFont.Get(), in ShowChars()
200 CalcTextInfo(tempStr, &charpos[11], m_pFont.Get(), strWidth, iFontSize, in ShowChars()
209 device->DrawNormalText(iLen, &charpos[11], m_pFont.Get(), in ShowChars()
DBC_OnedEAN13Writer.cpp180 CalcTextInfo(tempStr, &charpos[1], m_pFont.Get(), (float)strWidth, iFontSize, in ShowChars()
188 device->DrawNormalText(iLen, &charpos[1], m_pFont.Get(), in ShowChars()
194 CalcTextInfo(tempStr, &charpos[7], m_pFont.Get(), (float)strWidth, iFontSize, in ShowChars()
203 device->DrawNormalText(iLen, &charpos[7], m_pFont.Get(), in ShowChars()
212 CalcTextInfo(tempStr, charpos.data(), m_pFont.Get(), (float)strWidth, in ShowChars()
219 device->DrawNormalText(iLen, charpos.data(), m_pFont.Get(), in ShowChars()
DBC_OnedEAN8Writer.cpp173 CalcTextInfo(tempStr, charpos.data(), m_pFont.Get(), (float)strWidth, in ShowChars()
180 device->DrawNormalText(iLen, charpos.data(), m_pFont.Get(), in ShowChars()
186 CalcTextInfo(tempStr, &charpos[4], m_pFont.Get(), (float)strWidth, iFontSize, in ShowChars()
195 device->DrawNormalText(iLen, &charpos[4], m_pFont.Get(), in ShowChars()
DBC_OneDimWriter.cpp43 m_pFont = nullptr; in CBC_OneDimWriter()
70 m_pFont = cFont; in SetFont()
200 device->DrawNormalText(str.GetLength(), pCharPos, m_pFont.Get(), in ShowDeviceChars()
210 if (!device || !m_pFont) in ShowChars()
227 CalcTextInfo(str, charpos.data(), m_pFont.Get(), geWidth, iFontSize, in ShowChars()
DBC_OneDimWriter.h89 UnownedPtr<CFX_Font> m_pFont; variable
/external/pdfium/xfa/fde/
Dcfde_textout.cpp129 m_pFont(nullptr), in CFDE_TextOut()
146 m_pFont = pFont; in SetFont()
208 ASSERT(m_pFont && m_fFontSize >= 1.0f); in CalcLogicSize()
284 ASSERT(m_pFont && m_fFontSize >= 1.0f); in DrawLogicText()
317 CFDE_TextOut::DrawString(device, m_TxtColor, m_pFont, m_CharPos.data(), in DrawLogicText()
525 tr.pFont = m_pFont; in GetDisplayPos()
Dcfde_textout.h91 RetainPtr<CFGAS_GEFont> m_pFont; variable
/external/pdfium/core/fpdfdoc/
Dcpdf_formfield.h176 CPDF_Font* GetFont() const { return m_pFont.Get(); } in GetFont()
218 UnownedPtr<CPDF_Font> m_pFont; variable
Dcpdf_formfield.cpp96 m_pFont(nullptr) { in CPDF_FormField()
929 m_pFont = m_pForm->GetDocument()->LoadFont(pFontDict); in LoadDA()
/external/pdfium/core/fpdfapi/render/
Dcpdf_type3cache.cpp82 CPDF_Type3Cache::CPDF_Type3Cache(CPDF_Type3Font* pFont) : m_pFont(pFont) {} in CPDF_Type3Cache()
121 const CPDF_Type3Char* pChar = m_pFont->LoadChar(charcode); in RenderGlyph()
Dcpdf_type3cache.h41 UnownedPtr<CPDF_Type3Font> const m_pFont; variable
/external/pdfium/xfa/fwl/theme/
Dcfwl_widgettp.cpp288 m_pFont = CFGAS_GEFont::LoadFont(wsFontFamily.unterminated_c_str(), in LoadFont()
290 return !!m_pFont; in LoadFont()
294 return m_pFont; in GetFont()
Dcfwl_widgettp.h121 RetainPtr<CFGAS_GEFont> m_pFont; variable
/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.cpp83 UnownedPtr<CFX_Font> m_pFont; member
541 if (pPSFont->m_Glyphs[j].m_pFont == pFont && in FindPSFontGlyph()
585 pPSFont->m_Glyphs[glyphindex].m_pFont = pFont; in FindPSFontGlyph()