Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfdoc/
Dcpvt_fontmap.cpp38 RetainPtr<CPDF_Font> pPDFFont = in GetAnnotSysPDFFont() local
40 if (!pPDFFont) in GetAnnotSysPDFFont()
47 pPDFFont->GetFontDict()->GetObjNum()); in GetAnnotSysPDFFont()
49 return pPDFFont; in GetAnnotSysPDFFont()
Dcpdf_variabletext.cpp43 RetainPtr<CPDF_Font> pPDFFont = m_pFontMap->GetPDFFont(nFontIndex); in GetCharWidth() local
44 if (!pPDFFont) in GetCharWidth()
47 uint32_t charcode = pPDFFont->CharCodeFromUnicode(word); in GetCharWidth()
51 return pPDFFont->GetCharWidthF(charcode); in GetCharWidth()
55 RetainPtr<CPDF_Font> pPDFFont = m_pFontMap->GetPDFFont(nFontIndex); in GetTypeAscent() local
56 return pPDFFont ? pPDFFont->GetTypeAscent() : 0; in GetTypeAscent()
60 RetainPtr<CPDF_Font> pPDFFont = m_pFontMap->GetPDFFont(nFontIndex); in GetTypeDescent() local
61 return pPDFFont ? pPDFFont->GetTypeDescent() : 0; in GetTypeDescent()
Dcpvt_generateap.cpp62 RetainPtr<CPDF_Font> pPDFFont = pFontMap->GetPDFFont(nFontIndex); in GetPDFWordString() local
63 if (!pPDFFont) in GetPDFWordString()
66 if (pPDFFont->GetBaseFontName().Compare("Symbol") == 0 || in GetPDFWordString()
67 pPDFFont->GetBaseFontName().Compare("ZapfDingbats") == 0) { in GetPDFWordString()
72 uint32_t dwCharCode = pPDFFont->CharCodeFromUnicode(Word); in GetPDFWordString()
74 pPDFFont->AppendChar(&sWord, dwCharCode); in GetPDFWordString()
/external/pdfium/xfa/fgas/font/
Dcfgas_pdffontmgr.cpp67 RetainPtr<CPDF_Font> pPDFFont = pData->GetFont(pFontDict); in FindFont() local
68 if (!pPDFFont || !pPDFFont->IsEmbedded()) in FindFont()
71 return CFGAS_GEFont::LoadFont(pPDFFont, m_pFontMgr.Get()); in FindFont()
Dcfgas_gefont.cpp41 const RetainPtr<CPDF_Font>& pPDFFont, in LoadFont() argument
44 if (!pFont->LoadFontInternal(pPDFFont)) in LoadFont()
100 bool CFGAS_GEFont::LoadFontInternal(const RetainPtr<CPDF_Font>& pPDFFont) { in LoadFontInternal() argument
101 CFX_Font* pExternalFont = pPDFFont->GetFont(); in LoadFontInternal()
109 m_pPDFFont = pPDFFont; // Keep pPDFFont alive for the duration. in LoadFontInternal()
Dcfgas_gefont.h37 static RetainPtr<CFGAS_GEFont> LoadFont(const RetainPtr<CPDF_Font>& pPDFFont,
74 bool LoadFontInternal(const RetainPtr<CPDF_Font>& pPDFFont);
/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit_impl.cpp115 RetainPtr<CPDF_Font> pPDFFont = m_pFontMap->GetPDFFont(nFontIndex); in GetCharWidth() local
116 if (!pPDFFont) in GetCharWidth()
119 uint32_t charcode = pPDFFont->IsUnicodeCompatible() in GetCharWidth()
120 ? pPDFFont->CharCodeFromUnicode(word) in GetCharWidth()
126 return pPDFFont->GetCharWidthF(charcode); in GetCharWidth()
130 RetainPtr<CPDF_Font> pPDFFont = m_pFontMap->GetPDFFont(nFontIndex); in GetTypeAscent() local
131 return pPDFFont ? pPDFFont->GetTypeAscent() : 0; in GetTypeAscent()
135 RetainPtr<CPDF_Font> pPDFFont = m_pFontMap->GetPDFFont(nFontIndex); in GetTypeDescent() local
136 return pPDFFont ? pPDFFont->GetTypeDescent() : 0; in GetTypeDescent()
1877 RetainPtr<CPDF_Font> pPDFFont = pFontMap->GetPDFFont(nFontIndex); in GetPDFWordString() local
[all …]