Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkPDFFont.cpp29 SkAutoGlyphCache SkPDFFont::MakeVectorCache(SkTypeface* face, int* size) { in MakeVectorCache()
53 struct SkPDFType0Font final : public SkPDFFont {
54 SkPDFType0Font(SkPDFFont::Info, const SkAdvancedTypefaceMetrics&);
64 struct SkPDFType1Font final : public SkPDFFont {
65 SkPDFType1Font(SkPDFFont::Info, const SkAdvancedTypefaceMetrics&, SkPDFCanon*);
70 struct SkPDFType3Font final : public SkPDFFont {
71 SkPDFType3Font(SkPDFFont::Info, const SkAdvancedTypefaceMetrics&);
136 SkPDFFont::~SkPDFFont() {} in ~SkPDFFont()
142 const SkAdvancedTypefaceMetrics* SkPDFFont::GetMetrics(SkTypeface* typeface, in GetMetrics()
190 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 sk_sp<SkPDFFont> GetFontResource(SkPDFCanon* canon,
116 SkPDFFont(Info);
DSkPDFCanon.h19 class SkPDFFont; variable
41 SkTHashMap<uint64_t, sk_sp<SkPDFFont>> fFontMap;
DSkPDFDocument.h81 void registerFont(SkPDFFont* f) { fFonts.add(f); } in registerFont()
87 SkTHashSet<SkPDFFont*> fFonts;
DSkPDFDevice.h32 class SkPDFFont; variable
196 SkTDArray<SkPDFFont*> fFontResources;
DSkPDFDevice.cpp1427 SkPDFFont::GetMetrics(typeface, fDocument->canon()); in internalDrawText()
1467 SkAutoGlyphCache glyphCache = SkPDFFont::MakeVectorCache(typeface, &emSize); in internalDrawText()
1506 bool multiByteGlyphs = SkPDFFont::IsMultiByte(SkPDFFont::FontType(*metrics)); in internalDrawText()
1516 SkPDFFont* font = nullptr; in internalDrawText()
1754 for (SkPDFFont* font : fFontResources) { in makeResourceDict()
2243 sk_sp<SkPDFFont> newFont = SkPDFFont::GetFontResource(fDocument->canon(), typeface, glyphID); in getFontResourceIndex()
DSkPDFDocument.cpp424 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.cpp426 !SkPDFFont::CanEmbedTypeface(noEmbedTypeface.get(), &canon)); in DEF_TEST()
431 SkPDFFont::CanEmbedTypeface(portableTypeface.get(), &canon)); in DEF_TEST()
/external/skia/include/core/
DSkTypeface.h386 friend class SkPDFFont; variable
/external/skia/
DAndroid.bp645 "src/pdf/SkPDFFont.cpp",