Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/
Dfpdfedittext.cpp64 CPDF_Dictionary* fontDict = pDoc->NewIndirect<CPDF_Dictionary>(); in FPDFText_LoadType1Font() local
65 fontDict->SetNewFor<CPDF_Name>("Type", "Font"); in FPDFText_LoadType1Font()
66 fontDict->SetNewFor<CPDF_Name>("Subtype", "Type1"); in FPDFText_LoadType1Font()
70 fontDict->SetNewFor<CPDF_Name>("BaseFont", name); in FPDFText_LoadType1Font()
74 fontDict->SetNewFor<CPDF_Number>("FirstChar", currentChar); in FPDFText_LoadType1Font()
87 fontDict->SetNewFor<CPDF_Number>("LastChar", currentChar); in FPDFText_LoadType1Font()
88 fontDict->SetNewFor<CPDF_Reference>("Widths", pDoc, widthsArray->GetObjNum()); in FPDFText_LoadType1Font()
129 fontDict->SetNewFor<CPDF_Reference>("FontDescriptor", pDoc, in FPDFText_LoadType1Font()
131 return pDoc->LoadFont(fontDict); in FPDFText_LoadType1Font()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator_unittest.cpp172 CPDF_Dictionary* fontDict = TestGetResource( in TEST_F() local
174 ASSERT_TRUE(fontDict); in TEST_F()
175 EXPECT_EQ("Font", fontDict->GetStringFor("Type")); in TEST_F()
176 EXPECT_EQ("Type1", fontDict->GetStringFor("Subtype")); in TEST_F()
177 EXPECT_EQ("Times-Roman", fontDict->GetStringFor("BaseFont")); in TEST_F()
Dcpdf_pagecontentgenerator.cpp258 auto fontDict = pdfium::MakeUnique<CPDF_Dictionary>(); in ProcessText() local
259 fontDict->SetNewFor<CPDF_Name>("Type", "Font"); in ProcessText()
260 fontDict->SetNewFor<CPDF_Name>("Subtype", "Type1"); in ProcessText()
261 fontDict->SetNewFor<CPDF_Name>("BaseFont", fontD.baseFont); in ProcessText()
262 CPDF_Object* pDict = m_pDocument->AddIndirectObject(std::move(fontDict)); in ProcessText()
/external/fonttools/Lib/fontTools/
DcffLib.py257 for fontDict in self.items:
258 children.extend(fontDict.getChildren(strings))
442 fontDict = FontDict()
447 fontDict.fromXML(name, attrs, content)
448 self.append(fontDict)