Searched refs:pFontDict (Results 1 – 11 of 11) sorted by relevance
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_docpagedata.cpp | 121 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 …]
|
D | cpdf_docpagedata.h | 37 CPDF_Font* GetFont(CPDF_Dictionary* pFontDict); 40 void ReleaseFont(const CPDF_Dictionary* pFontDict);
|
D | cpdf_streamcontentparser.cpp | 1172 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/ |
D | cba_fontmap.cpp | 226 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/ |
D | cpdf_document.cpp | 626 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 …]
|
D | cpdf_document.h | 73 CPDF_Font* LoadFont(CPDF_Dictionary* pFontDict);
|
/external/pdfium/xfa/fgas/font/ |
D | cfgas_pdffontmgr.cpp | 58 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/ |
D | cpdf_font.cpp | 321 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()
|
D | cpdf_font.h | 34 CPDF_Dictionary* pFontDict);
|
/external/pdfium/core/fpdfdoc/ |
D | cpvt_generateap.cpp | 396 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 …]
|
D | cpdf_formfield.cpp | 925 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()
|