Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_ap.cpp16 if (CPDF_Font* pPDFFont = pFontMap->GetPDFFont(nFontIndex)) { in GetPDFWordString() local
22 if (pPDFFont->IsUnicodeCompatible()) in GetPDFWordString()
23 dwCharCode = pPDFFont->CharCodeFromUnicode(Word); in GetPDFWordString()
28 pPDFFont->AppendChar(sWord, dwCharCode); in GetPDFWordString()
33 pPDFFont->AppendChar(sWord, Word); in GetPDFWordString()
Dfxet_edit.cpp105 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) { in GetCharWidth() local
108 if (pPDFFont->IsUnicodeCompatible()) in GetCharWidth()
109 charcode = pPDFFont->CharCodeFromUnicode(word); in GetCharWidth()
114 return pPDFFont->GetCharWidthF(charcode); in GetCharWidth()
121 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeAscent() local
122 return pPDFFont->GetTypeAscent(); in GetTypeAscent()
128 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeDescent() local
129 return pPDFFont->GetTypeDescent(); in GetTypeDescent()
/external/pdfium/core/src/fpdfdoc/
Ddoc_ap.cpp87 if (CPDF_Font* pPDFFont = in GetAnnotSysPDFFont() local
92 pPDFFont->GetFontDict()); in GetAnnotSysPDFFont()
95 pSysFont = pPDFFont; in GetAnnotSysPDFFont()
132 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) { in GetCharWidth() local
133 FX_DWORD charcode = pPDFFont->CharCodeFromUnicode(word); in GetCharWidth()
135 return pPDFFont->GetCharWidthF(charcode); in GetCharWidth()
141 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) { in GetTypeAscent() local
142 return pPDFFont->GetTypeAscent(); in GetTypeAscent()
147 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) { in GetTypeDescent() local
148 return pPDFFont->GetTypeDescent(); in GetTypeDescent()
[all …]
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_fontmgr.cpp1915 CPDF_Font* pPDFFont = pDoc->LoadFont(pFontDict); in FindFont() local
1916 if (!pPDFFont) { in FindFont()
1919 if (!pPDFFont->IsEmbedded()) { in FindFont()
1920 *pDstPDFFont = pPDFFont; in FindFont()
1923 return IFX_Font::LoadFont(&pPDFFont->m_Font, pFDEFontMgr); in FindFont()
1929 CPDF_Font** pPDFFont, in GetFont() argument
1944 pFont = FindFont(strFontName, bBold, bItalic, pPDFFont, bStrictMatch); in GetFont()
2045 CPDF_Font* pPDFFont = (CPDF_Font*)m_FDE2PDFFont.GetValueAt(pFont); in GetCharWidth() local
2046 if (!pPDFFont) { in GetCharWidth()
2049 wUnicode = (FX_WCHAR)pPDFFont->CharCodeFromUnicode(wUnicode); in GetCharWidth()
[all …]
Dxfa_fontmgr.h40 CPDF_Font** pPDFFont,
52 CPDF_Font** pPDFFont,