HomeSort by relevance Sort by last modified time
    Searched refs:fontDict (Results 1 - 9 of 9) sorted by null

  /external/pdfium/core/fpdfapi/edit/
cpdf_pagecontentgenerator_unittest.cpp 219 CPDF_Dictionary* fontDict = TestGetResource(
222 ASSERT_TRUE(fontDict);
223 EXPECT_EQ("Font", fontDict->GetStringFor("Type"));
224 EXPECT_EQ("Type1", fontDict->GetStringFor("Subtype"));
225 EXPECT_EQ("Times-Roman", fontDict->GetStringFor("BaseFont"));
274 CPDF_Dictionary* fontDict = TestGetResource(
279 ASSERT_TRUE(fontDict);
280 EXPECT_TRUE(fontDict->GetObjNum());
281 EXPECT_EQ("Font", fontDict->GetStringFor("Type"));
282 EXPECT_EQ("TrueType", fontDict->GetStringFor("Subtype"))
    [all...]
cpdf_pagecontentgenerator.cpp 378 auto fontDict = pdfium::MakeUnique<CPDF_Dictionary>();
379 fontDict->SetNewFor<CPDF_Name>("Type", "Font");
380 fontDict->SetNewFor<CPDF_Name>("Subtype", fontD.type);
381 fontDict->SetNewFor<CPDF_Name>("BaseFont", fontD.baseFont);
382 CPDF_Object* pDict = m_pDocument->AddIndirectObject(std::move(fontDict));
  /external/pdfium/fpdfsdk/
fpdfedittext.cpp 246 CPDF_Dictionary* fontDict = pDoc->NewIndirect<CPDF_Dictionary>();
247 fontDict->SetNewFor<CPDF_Name>("Type", "Font");
248 fontDict->SetNewFor<CPDF_Name>(
253 fontDict->SetNewFor<CPDF_Name>("BaseFont", name);
259 fontDict->SetNewFor<CPDF_Number>("FirstChar", static_cast<int>(currentChar));
272 fontDict->SetNewFor<CPDF_Number>("LastChar", static_cast<int>(currentChar));
273 fontDict->SetNewFor<CPDF_Reference>("Widths", pDoc, widthsArray->GetObjNum());
277 fontDict->SetNewFor<CPDF_Reference>("FontDescriptor", pDoc,
279 return pDoc->LoadFont(fontDict);
289 CPDF_Dictionary* fontDict = pDoc->NewIndirect<CPDF_Dictionary>()
    [all...]
  /external/fonttools/Lib/fontTools/varLib/
cff.py 14 FontDict,
60 fontDict = FontDict()
61 fontDict.setCFF2(True)
62 fdArray.append(fontDict)
63 fontDict.Private = privateDict
78 for fontDict in fdArray:
79 fontDict.setCFF2(True)
80 for key in list(fontDict.rawDict.keys()):
81 if key not in fontDict.order
    [all...]
mutator.py 44 for fontDict in topDict.FDArray:
45 pd = fontDict.Private
  /external/skia/src/pdf/
SkPDFFont.cpp 389 SkPDFDict fontDict("Font");
390 fontDict.insertName("Subtype", "Type0");
391 fontDict.insertName("BaseFont", metrics.fPostScriptName);
392 fontDict.insertName("Encoding", "Identity-H");
395 fontDict.insertObject("DescendantFonts", std::move(descendantFonts));
406 fontDict.insertRef("ToUnicode", SkPDFStreamOut(nullptr, std::move(toUnicode), doc));
408 doc->emit(fontDict, font.indirectReference());
    [all...]
  /external/skqp/src/pdf/
SkPDFFont.cpp 393 SkPDFDict fontDict("Font");
394 fontDict.insertName("Subtype", "Type0");
395 fontDict.insertName("BaseFont", metrics.fPostScriptName);
396 fontDict.insertName("Encoding", "Identity-H");
399 fontDict.insertObject("DescendantFonts", std::move(descendantFonts));
410 fontDict.insertRef("ToUnicode", SkPDFStreamOut(nullptr, std::move(toUnicode), doc));
412 doc->emit(fontDict, font.indirectReference());
    [all...]
  /external/fonttools/Lib/fontTools/cffLib/
__init__.py 259 fontDict = FontDict()
260 fontDict.setCFF2(True)
261 fdArray.append(fontDict)
262 fontDict.Private = privateDict
277 for fontDict in fdArray:
278 fontDict.setCFF2(True)
279 for key in fontDict.rawDict.keys():
280 if key not in fontDict.order:
281 del fontDict.rawDict[key
    [all...]
  /external/fonttools/Lib/fontTools/
fontBuilder.py 527 GlobalSubrsIndex, PrivateDict, FDArrayIndex, FontDict
548 fontDict = FontDict()
549 fontDict.setCFF2(True)
553 fontDict.Private = private
554 fdArray.append(fontDict)

Completed in 240 milliseconds