Home
last modified time | relevance | path

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

/external/pdfium/xfa/fgas/font/
Dcfgas_pdffontmgr.cpp62 CPDF_Font* pPDFFont = m_pDoc->LoadFont(pFontDict); in FindFont() local
63 if (!pPDFFont) in FindFont()
66 if (!pPDFFont->IsEmbedded()) { in FindFont()
67 *pDstPDFFont = pPDFFont; in FindFont()
70 return CFGAS_GEFont::LoadFont(pPDFFont->GetFont(), m_pFontMgr.Get()); in FindFont()
78 CPDF_Font** pPDFFont, in GetFont() argument
91 FindFont(strFontName, bBold, bItalic, pPDFFont, bStrictMatch); in GetFont()
196 CPDF_Font* pPDFFont = it->second; in GetCharWidth() local
197 *pWidth = pPDFFont->GetCharWidthF(pPDFFont->CharCodeFromUnicode(wUnicode)); in GetCharWidth()
202 CPDF_Font* pPDFFont) { in SetFont() argument
[all …]
Dcfgas_pdffontmgr.h28 void SetFont(const RetainPtr<CFGAS_GEFont>& pFont, CPDF_Font* pPDFFont);
31 CPDF_Font** pPDFFont,
41 CPDF_Font** pPDFFont,
/external/pdfium/xfa/fxfa/
Dcxfa_fontmgr.cpp39 CPDF_Font* pPDFFont = nullptr; in GetFont() local
42 pFont = pMgr->GetFont(wsEnglishName.AsStringView(), dwFontStyles, &pPDFFont, in GetFont()
52 pPDFFont = nullptr; in GetFont()
53 pFont = pMgr->GetFont(wsEnglishName.AsStringView(), dwFontStyles, &pPDFFont, in GetFont()
64 if (pPDFFont) { in GetFont()
65 pMgr->SetFont(pFont, pPDFFont); in GetFont()
/external/pdfium/core/fpdfdoc/
Dcpvt_fontmap.cpp35 CPDF_Font* pPDFFont = AddNativeInterFormFont(pFormDict, pDoc, sSysFontAlias); in GetAnnotSysPDFFont() local
36 if (!pPDFFont) in GetAnnotSysPDFFont()
42 pPDFFont->GetFontDict()->GetObjNum()); in GetAnnotSysPDFFont()
44 return pPDFFont; in GetAnnotSysPDFFont()
Dcpdf_variabletext.cpp43 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) { in GetCharWidth() local
44 uint32_t charcode = pPDFFont->CharCodeFromUnicode(word); in GetCharWidth()
46 return pPDFFont->GetCharWidthF(charcode); in GetCharWidth()
52 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeAscent() local
53 return pPDFFont->GetTypeAscent(); in GetTypeAscent()
58 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeDescent() local
59 return pPDFFont->GetTypeDescent(); in GetTypeDescent()
Dcpvt_generateap.cpp53 CPDF_Font* pPDFFont = pFontMap->GetPDFFont(nFontIndex); in GetPDFWordString() local
54 if (!pPDFFont) in GetPDFWordString()
57 if (pPDFFont->GetBaseFont().Compare("Symbol") == 0 || in GetPDFWordString()
58 pPDFFont->GetBaseFont().Compare("ZapfDingbats") == 0) { in GetPDFWordString()
63 uint32_t dwCharCode = pPDFFont->CharCodeFromUnicode(Word); in GetPDFWordString()
65 pPDFFont->AppendChar(&sWord, dwCharCode); in GetPDFWordString()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit_impl.cpp130 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) { in GetCharWidth() local
133 if (pPDFFont->IsUnicodeCompatible()) in GetCharWidth()
134 charcode = pPDFFont->CharCodeFromUnicode(word); in GetCharWidth()
139 return pPDFFont->GetCharWidthF(charcode); in GetCharWidth()
146 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeAscent() local
147 return pPDFFont->GetTypeAscent(); in GetTypeAscent()
153 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeDescent() local
154 return pPDFFont->GetTypeDescent(); in GetTypeDescent()
1852 CPDF_Font* pPDFFont = pFontMap->GetPDFFont(nFontIndex); in GetPDFWordString() local
1853 if (!pPDFFont) in GetPDFWordString()
[all …]