Home
last modified time | relevance | path

Searched refs:pFontDict (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_docpagedata.cpp121 CPDF_Font* CPDF_DocPageData::GetFont(CPDF_Dictionary* pFontDict) { in GetFont() argument
122 if (!pFontDict) in GetFont()
126 auto it = m_FontMap.find(pFontDict); in GetFont()
134 CPDF_Font::Create(m_pPDFDoc.Get(), pFontDict); in GetFont()
142 m_FontMap[pFontDict] = pFontData; in GetFont()
191 void CPDF_DocPageData::ReleaseFont(const CPDF_Dictionary* pFontDict) { in ReleaseFont() argument
192 if (!pFontDict) in ReleaseFont()
195 auto it = m_FontMap.find(pFontDict); in ReleaseFont()
454 CPDF_Dictionary* pFontDict = pFontStream->GetDict(); in GetFontFileStreamAcc() local
455 int32_t org_size = pFontDict->GetIntegerFor("Length1") + in GetFontFileStreamAcc()
[all …]
Dcpdf_docpagedata.h37 CPDF_Font* GetFont(CPDF_Dictionary* pFontDict);
40 void ReleaseFont(const CPDF_Dictionary* pFontDict);
Dcpdf_streamcontentparser.cpp1172 CPDF_Dictionary* pFontDict = ToDictionary(FindResourceObj("Font", name)); in FindFont() local
1173 if (!pFontDict) { in FindFont()
1178 CPDF_Font* pFont = m_pDocument->LoadFont(pFontDict); in FindFont()
/external/pdfium/fpdfsdk/formfiller/
Dcba_fontmap.cpp226 CPDF_Dictionary* pFontDict = nullptr; in GetAnnotDefaultFont() local
232 pFontDict = pResFontDict->GetDictFor(*sAlias); in GetAnnotDefaultFont()
236 if (bWidget && !pFontDict && pAcroFormDict) { in GetAnnotDefaultFont()
239 pFontDict = pDRFontDict->GetDictFor(*sAlias); in GetAnnotDefaultFont()
242 return pFontDict ? m_pDocument->LoadFont(pFontDict) : nullptr; in GetAnnotDefaultFont()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_document.cpp626 CPDF_Font* CPDF_Document::LoadFont(CPDF_Dictionary* pFontDict) { in LoadFont() argument
627 ASSERT(pFontDict); in LoadFont()
628 return m_pDocPage->GetFont(pFontDict); in LoadFont()
811 CPDF_Dictionary* pFontDict = NewIndirect<CPDF_Dictionary>(); in ProcessbCJK() local
815 CPDF_Array* pWidthArray = pFontDict->SetNewFor<CPDF_Array>("W"); in ProcessbCJK()
857 pFontDict->SetNewFor<CPDF_Name>("Type", "Font"); in ProcessbCJK()
858 pFontDict->SetNewFor<CPDF_Name>("Subtype", "CIDFontType2"); in ProcessbCJK()
859 pFontDict->SetNewFor<CPDF_Name>("BaseFont", basefont); in ProcessbCJK()
862 pFontDict->SetNewFor<CPDF_Dictionary>("CIDSystemInfo"); in ProcessbCJK()
868 pArray->AddNew<CPDF_Reference>(this, pFontDict->GetObjNum()); in ProcessbCJK()
[all …]
Dcpdf_document.h73 CPDF_Font* LoadFont(CPDF_Dictionary* pFontDict);
/external/pdfium/xfa/fgas/font/
Dcfgas_pdffontmgr.cpp58 CPDF_Dictionary* pFontDict = ToDictionary(pObj->GetDirect()); in FindFont() local
59 if (!pFontDict || pFontDict->GetStringFor("Type") != "Font") in FindFont()
62 CPDF_Font* pPDFFont = m_pDoc->LoadFont(pFontDict); in FindFont()
/external/pdfium/core/fpdfapi/font/
Dcpdf_font.cpp321 CPDF_Dictionary* pFontDict) { in Create() argument
322 ByteString type = pFontDict->GetStringFor("Subtype"); in Create()
325 ByteString tag = pFontDict->GetStringFor("BaseFont").Left(4); in Create()
328 CPDF_Dictionary* pFontDesc = pFontDict->GetDictFor("FontDescriptor"); in Create()
343 pFont->m_pFontDict = pFontDict; in Create()
345 pFont->m_BaseFont = pFontDict->GetStringFor("BaseFont"); in Create()
Dcpdf_font.h34 CPDF_Dictionary* pFontDict);
/external/pdfium/core/fpdfdoc/
Dcpvt_generateap.cpp396 CPDF_Dictionary* pFontDict = pDoc->NewIndirect<CPDF_Dictionary>(); in GenerateResourceFontDict() local
397 pFontDict->SetNewFor<CPDF_Name>("Type", "Font"); in GenerateResourceFontDict()
398 pFontDict->SetNewFor<CPDF_Name>("Subtype", "Type1"); in GenerateResourceFontDict()
399 pFontDict->SetNewFor<CPDF_Name>("BaseFont", "Helvetica"); in GenerateResourceFontDict()
400 pFontDict->SetNewFor<CPDF_Name>("Encoding", "WinAnsiEncoding"); in GenerateResourceFontDict()
405 pFontDict->GetObjNum()); in GenerateResourceFontDict()
921 CPDF_Dictionary* pFontDict = in GenerateFormAP() local
923 if (!pFontDict) { in GenerateFormAP()
924 pFontDict = pDoc->NewIndirect<CPDF_Dictionary>(); in GenerateFormAP()
925 pFontDict->SetNewFor<CPDF_Name>("Type", "Font"); in GenerateFormAP()
[all …]
Dcpdf_formfield.cpp925 CPDF_Dictionary* pFontDict = pFont->GetDictFor(font_name); in LoadDA() local
926 if (!pFontDict) in LoadDA()
929 m_pFont = m_pForm->GetDocument()->LoadFont(pFontDict); in LoadDA()