OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:fontDict
(Results
1 - 2
of
2
) sorted by null
/external/pdfium/core/fpdfapi/edit/
cpdf_pagecontentgenerator_unittest.cpp
172
CPDF_Dictionary*
fontDict
= TestGetResource(
174
ASSERT_TRUE(
fontDict
);
175
EXPECT_EQ("Font",
fontDict
->GetStringFor("Type"));
176
EXPECT_EQ("Type1",
fontDict
->GetStringFor("Subtype"));
177
EXPECT_EQ("Times-Roman",
fontDict
->GetStringFor("BaseFont"));
cpdf_pagecontentgenerator.cpp
258
auto
fontDict
= pdfium::MakeUnique<CPDF_Dictionary>();
259
fontDict
->SetNewFor<CPDF_Name>("Type", "Font");
260
fontDict
->SetNewFor<CPDF_Name>("Subtype", "Type1");
261
fontDict
->SetNewFor<CPDF_Name>("BaseFont", fontD.baseFont);
262
CPDF_Object* pDict = m_pDocument->AddIndirectObject(std::move(
fontDict
));
Completed in 741 milliseconds