Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_ap.cpp17 if (CPDF_Font * pPDFFont = pFontMap->GetPDFFont(nFontIndex)) in GetPDFWordString() local
27 if (pPDFFont->IsUnicodeCompatible()) in GetPDFWordString()
28 dwCharCode = pPDFFont->CharCodeFromUnicode(Word); in GetPDFWordString()
34 pPDFFont->AppendChar(sWord, dwCharCode); in GetPDFWordString()
39 pPDFFont->AppendChar(sWord, Word); in GetPDFWordString()
Dfxet_edit.cpp152 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetCharWidth() local
156 if (pPDFFont->IsUnicodeCompatible()) in GetCharWidth()
157 charcode = pPDFFont->CharCodeFromUnicode(word); in GetCharWidth()
162 return pPDFFont->GetCharWidthF(charcode); in GetCharWidth()
170 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeAscent() local
171 return pPDFFont->GetTypeAscent(); in GetTypeAscent()
178 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeDescent() local
179 return pPDFFont->GetTypeDescent(); in GetTypeDescent()
/external/pdfium/core/src/fpdfdoc/
Ddoc_ap.cpp77 if (CPDF_Font * pPDFFont = AddNativeInterFormFont(pFormDict, pDoc, sSysFontAlias)) { in GetAnnotSysPDFFont() local
80 pFontList->SetAtReference(sSysFontAlias, pDoc, pPDFFont->GetFontDict()); in GetAnnotSysPDFFont()
83 pSysFont = pPDFFont; in GetAnnotSysPDFFont()
122 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) { in GetCharWidth() local
123 FX_DWORD charcode = pPDFFont->CharCodeFromUnicode(word); in GetCharWidth()
125 return pPDFFont->GetCharWidthF(charcode); in GetCharWidth()
132 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) { in GetTypeAscent() local
133 return pPDFFont->GetTypeAscent(); in GetTypeAscent()
139 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) { in GetTypeDescent() local
140 return pPDFFont->GetTypeDescent(); in GetTypeDescent()
[all …]
/external/pdfium/core/src/reflow/
Dreflowedpage.cpp468 CPDF_Font* pPDFFont = pCharData->m_pCharState->m_pFont; in Display() local
469 if(pPDFFont->GetFontType() == PDFFONT_TYPE3) { in Display()
474 charpos.m_GlyphIndex = pPDFFont->GlyphFromCharCode(pCharData->m_CharCode); in Display()
475 charpos.m_FontCharWidth = pPDFFont->m_Font.GetGlyphWidth(charpos.m_GlyphIndex); in Display()
490 bRet = m_pFXDevice->DrawNormalText(1, &charpos, &(pPDFFont->m_Font), in Display()
494 bRet = m_pFXDevice->DrawNormalText(1, &charpos, &(pPDFFont->m_Font), in Display()