Home
last modified time | relevance | path

Searched refs:SkPDFFont (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/pdf/
DSkPDFFont.cpp28 SkAutoGlyphCache SkPDFFont::MakeVectorCache(SkTypeface* face, int* size) { in MakeVectorCache()
52 struct SkPDFType0Font final : public SkPDFFont {
53 SkPDFType0Font(SkPDFFont::Info, const SkAdvancedTypefaceMetrics&);
63 struct SkPDFType1Font final : public SkPDFFont {
64 SkPDFType1Font(SkPDFFont::Info, const SkAdvancedTypefaceMetrics&, SkPDFCanon*);
69 struct SkPDFType3Font final : public SkPDFFont {
70 SkPDFType3Font(SkPDFFont::Info, const SkAdvancedTypefaceMetrics&);
135 SkPDFFont::~SkPDFFont() {} in ~SkPDFFont()
141 const SkAdvancedTypefaceMetrics* SkPDFFont::GetMetrics(SkTypeface* typeface, in GetMetrics()
164 SkAdvancedTypefaceMetrics::FontType SkPDFFont::FontType(const SkAdvancedTypefaceMetrics& metrics) { in FontType()
[all …]
DSkPDFFont.h20 class SkPDFFont; variable
29 class SkPDFFont : public SkPDFDict {
32 ~SkPDFFont() override;
55 bool multiByteGlyphs() const { return SkPDFFont::IsMultiByte(this->getType()); } in multiByteGlyphs()
86 static SkPDFFont* GetFontResource(SkPDFCanon* canon,
117 SkPDFFont(Info);
DSkPDFDocument.h70 void registerFont(SkPDFFont* f) { fFonts.add(f); } in registerFont()
76 SkTHashSet<SkPDFFont*> fFonts;
DSkPDFCanon.h18 class SkPDFFont; variable
61 SkTHashMap<uint64_t, SkPDFFont*> fFontMap;
DSkPDFDevice.h31 class SkPDFFont; variable
212 SkTDArray<SkPDFFont*> fFontResources;
DSkPDFCanon.cpp28 fFontMap.foreach(UnrefValue<uint64_t, SkPDFFont>()); in ~SkPDFCanon()
DSkPDFDevice.cpp1272 SkPDFFont::GetMetrics(typeface, fDocument->canon()); in internalDrawText()
1312 SkAutoGlyphCache glyphCache = SkPDFFont::MakeVectorCache(typeface, &emSize); in internalDrawText()
1340 bool multiByteGlyphs = SkPDFFont::IsMultiByte(SkPDFFont::FontType(*metrics)); in internalDrawText()
1350 SkPDFFont* font = nullptr; in internalDrawText()
1527 for (SkPDFFont* font : fFontResources) { in makeResourceDict()
2031 sk_sp<SkPDFFont> newFont( in getFontResourceIndex()
2032 SkPDFFont::GetFontResource(fDocument->canon(), typeface, glyphID)); in getFontResourceIndex()
DSkPDFDocument.cpp426 fFonts.foreach([canon](SkPDFFont* p){ p->getFontSubset(canon); }); in onClose()
/external/skia/gn/
Dpdf.gni27 "$_src/pdf/SkPDFFont.cpp",
28 "$_src/pdf/SkPDFFont.h",
/external/skia/tests/
DPDFPrimitivesTest.cpp423 !SkPDFFont::CanEmbedTypeface(noEmbedTypeface.get(), &canon)); in DEF_TEST()
428 SkPDFFont::CanEmbedTypeface(portableTypeface.get(), &canon)); in DEF_TEST()
/external/skia/include/core/
DSkTypeface.h390 friend class SkPDFFont; variable
/external/skia/
DAndroid.bp654 "src/pdf/SkPDFFont.cpp",