/external/pdfium/core/fpdfapi/page/ |
D | cpdf_docpagedata.cpp | 177 RetainPtr<CPDF_Font> CPDF_DocPageData::GetFont(CPDF_Dictionary* pFontDict) { in GetFont() argument 178 if (!pFontDict) in GetFont() 181 auto it = m_FontMap.find(pFontDict); in GetFont() 186 CPDF_Font::Create(GetDocument(), pFontDict, this); in GetFont() 190 m_FontMap[pFontDict].Reset(pFont.Get()); in GetFont() 411 const CPDF_Dictionary* pFontDict = pFontStream->GetDict(); in GetFontFileStreamAcc() local 412 int32_t len1 = pFontDict->GetIntegerFor("Length1"); in GetFontFileStreamAcc() 413 int32_t len2 = pFontDict->GetIntegerFor("Length2"); in GetFontFileStreamAcc() 414 int32_t len3 = pFontDict->GetIntegerFor("Length3"); in GetFontFileStreamAcc() 470 CPDF_Dictionary* pFontDict = pBaseDict; in AddFont() local [all …]
|
D | cpdf_docpagedata.h | 56 RetainPtr<CPDF_Font> GetFont(CPDF_Dictionary* pFontDict);
|
D | cpdf_streamcontentparser.cpp | 1149 CPDF_Dictionary* pFontDict = ToDictionary(FindResourceObj("Font", name)); in FindFont() local 1150 if (!pFontDict) { in FindFont() 1156 CPDF_DocPageData::FromDocument(m_pDocument.Get())->GetFont(pFontDict); in FindFont()
|
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_font.cpp | 48 CPDF_Font::CPDF_Font(CPDF_Document* pDocument, CPDF_Dictionary* pFontDict) in CPDF_Font() argument 50 m_pFontDict(pFontDict), in CPDF_Font() 51 m_BaseFontName(pFontDict->GetStringFor("BaseFont")) {} in CPDF_Font() 313 CPDF_Dictionary* pFontDict, in Create() argument 315 ByteString type = pFontDict->GetStringFor("Subtype"); in Create() 318 ByteString tag = pFontDict->GetStringFor("BaseFont").First(4); in Create() 322 pFontDict->GetDictFor("FontDescriptor"); in Create() 324 pFont = pdfium::MakeRetain<CPDF_CIDFont>(pDoc, pFontDict); in Create() 329 pFont = pdfium::MakeRetain<CPDF_TrueTypeFont>(pDoc, pFontDict); in Create() 331 pFont = pdfium::MakeRetain<CPDF_Type3Font>(pDoc, pFontDict, pFactory); in Create() [all …]
|
D | cpdf_type3font.cpp | 27 CPDF_Dictionary* pFontDict, in CPDF_Type3Font() argument 29 : CPDF_SimpleFont(pDocument, pFontDict), m_pFormFactory(pFormFactory) { in CPDF_Type3Font()
|
D | cpdf_font.h | 64 CPDF_Dictionary* pFontDict, 129 CPDF_Font(CPDF_Document* pDocument, CPDF_Dictionary* pFontDict);
|
D | cpdf_truetypefont.h | 26 CPDF_TrueTypeFont(CPDF_Document* pDocument, CPDF_Dictionary* pFontDict);
|
D | cpdf_truetypefont.cpp | 19 CPDF_Dictionary* pFontDict) in CPDF_TrueTypeFont() argument 20 : CPDF_SimpleFont(pDocument, pFontDict) {} in CPDF_TrueTypeFont()
|
D | cpdf_type1font.h | 33 CPDF_Type1Font(CPDF_Document* pDocument, CPDF_Dictionary* pFontDict);
|
D | cpdf_simplefont.h | 34 CPDF_SimpleFont(CPDF_Document* pDocument, CPDF_Dictionary* pFontDict);
|
D | cpdf_type3font.h | 48 CPDF_Dictionary* pFontDict,
|
D | cpdf_simplefont.cpp | 32 CPDF_Dictionary* pFontDict) in CPDF_SimpleFont() argument 33 : CPDF_Font(pDocument, pFontDict) { in CPDF_SimpleFont()
|
D | cpdf_type1font.cpp | 67 CPDF_Dictionary* pFontDict) in CPDF_Type1Font() argument 68 : CPDF_SimpleFont(pDocument, pFontDict) { in CPDF_Type1Font()
|
D | cpdf_cidfont.h | 67 CPDF_CIDFont(CPDF_Document* pDocument, CPDF_Dictionary* pFontDict);
|
D | cpdf_cidfont.cpp | 210 CPDF_CIDFont::CPDF_CIDFont(CPDF_Document* pDocument, CPDF_Dictionary* pFontDict) in CPDF_CIDFont() argument 211 : CPDF_Font(pDocument, pFontDict) { in CPDF_CIDFont()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_edittext.cpp | 274 CPDF_Dictionary* pFontDict = pDoc->NewIndirect<CPDF_Dictionary>(); in LoadSimpleFont() local 275 pFontDict->SetNewFor<CPDF_Name>("Type", "Font"); in LoadSimpleFont() 276 pFontDict->SetNewFor<CPDF_Name>( in LoadSimpleFont() 281 pFontDict->SetNewFor<CPDF_Name>("BaseFont", name); in LoadSimpleFont() 289 pFontDict->SetNewFor<CPDF_Number>("FirstChar", in LoadSimpleFont() 306 pFontDict->SetNewFor<CPDF_Number>("LastChar", in LoadSimpleFont() 308 pFontDict->SetNewFor<CPDF_Reference>("Widths", pDoc, in LoadSimpleFont() 313 pFontDict->SetNewFor<CPDF_Reference>("FontDescriptor", pDoc, in LoadSimpleFont() 315 return CPDF_DocPageData::FromDocument(pDoc)->GetFont(pFontDict); in LoadSimpleFont() 322 CPDF_Dictionary* pFontDict = pDoc->NewIndirect<CPDF_Dictionary>(); in LoadCompositeFont() local [all …]
|
/external/pdfium/core/fpdfdoc/ |
D | cba_fontmap.cpp | 286 CPDF_Dictionary* pFontDict = nullptr; in GetAnnotDefaultFont() local 293 pFontDict = pResFontDict->GetDictFor(*sAlias); in GetAnnotDefaultFont() 297 if (bWidget && !pFontDict && pAcroFormDict) { in GetAnnotDefaultFont() 300 pFontDict = pDRFontDict->GetDictFor(*sAlias); in GetAnnotDefaultFont() 303 if (!pFontDict) in GetAnnotDefaultFont() 306 return CPDF_DocPageData::FromDocument(m_pDocument.Get())->GetFont(pFontDict); in GetAnnotDefaultFont() 346 CPDF_Dictionary* pFontDict = pFont->GetFontDict(); in AddFontToAnnotDict() local 348 pFontDict->IsInline() ? pFontDict->Clone() in AddFontToAnnotDict() 349 : pFontDict->MakeReference(m_pDocument.Get()); in AddFontToAnnotDict()
|
D | cpvt_generateap.cpp | 408 CPDF_Dictionary* pFontDict = pDoc->NewIndirect<CPDF_Dictionary>(); in GenerateResourceFontDict() local 409 pFontDict->SetNewFor<CPDF_Name>("Type", "Font"); in GenerateResourceFontDict() 410 pFontDict->SetNewFor<CPDF_Name>("Subtype", "Type1"); in GenerateResourceFontDict() 411 pFontDict->SetNewFor<CPDF_Name>("BaseFont", CFX_Font::kDefaultAnsiFontName); in GenerateResourceFontDict() 412 pFontDict->SetNewFor<CPDF_Name>("Encoding", "WinAnsiEncoding"); in GenerateResourceFontDict() 416 pFontDict->GetObjNum()); in GenerateResourceFontDict() 953 CPDF_Dictionary* pFontDict = pDRFontDict->GetDictFor(font_name); in GenerateFormAP() local 954 if (!pFontDict) { in GenerateFormAP() 955 pFontDict = pDoc->NewIndirect<CPDF_Dictionary>(); in GenerateFormAP() 956 pFontDict->SetNewFor<CPDF_Name>("Type", "Font"); in GenerateFormAP() [all …]
|
D | cpdf_formfield.cpp | 854 CPDF_Dictionary* pFontDict = pFont->GetDictFor(*font_name); in LoadDA() local 855 if (!pFontDict) in LoadDA() 859 m_pFont = pData->GetFont(pFontDict); in LoadDA()
|
/external/pdfium/xfa/fgas/font/ |
D | cfgas_pdffontmgr.cpp | 63 CPDF_Dictionary* pFontDict = ToDictionary(pObj->GetDirect()); in FindFont() local 64 if (!pFontDict || pFontDict->GetStringFor("Type") != "Font") in FindFont() 67 RetainPtr<CPDF_Font> pPDFFont = pData->GetFont(pFontDict); in FindFont()
|
/external/pdfium/core/fpdfapi/edit/ |
D | cpdf_pagecontentgenerator.cpp | 522 auto pFontDict = pdfium::MakeRetain<CPDF_Dictionary>(); in ProcessText() local 523 pFontDict->SetNewFor<CPDF_Name>("Type", "Font"); in ProcessText() 524 pFontDict->SetNewFor<CPDF_Name>("Subtype", data.type); in ProcessText() 525 pFontDict->SetNewFor<CPDF_Name>("BaseFont", data.baseFont); in ProcessText() 527 pFontDict->SetFor("Encoding", in ProcessText() 530 pIndirectFont = m_pDocument->AddIndirectObject(pFontDict); in ProcessText()
|