Home
last modified time | relevance | path

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

/third_party/skia/src/pdf/
DSkPDFFont.h30 class SkPDFFont {
32 ~SkPDFFont();
33 SkPDFFont(SkPDFFont&&);
34 SkPDFFont& operator=(SkPDFFont&&);
56 bool multiByteGlyphs() const { return SkPDFFont::IsMultiByte(this->getType()); } in multiByteGlyphs()
89 static SkPDFFont* GetFontResource(SkPDFDocument* doc,
127 SkPDFFont(sk_sp<SkTypeface>,
135 SkPDFFont() = delete;
136 SkPDFFont(const SkPDFFont&) = delete;
137 SkPDFFont& operator=(const SkPDFFont&) = delete;
DSkPDFFont.cpp51 void SkPDFFont::GetType1GlyphNames(const SkTypeface& face, SkString* dst) { in GetType1GlyphNames()
96 SkPDFFont::~SkPDFFont() = default;
98 SkPDFFont::SkPDFFont(SkPDFFont&&) = default;
100 SkPDFFont& SkPDFFont::operator=(SkPDFFont&&) = default;
106 const SkAdvancedTypefaceMetrics* SkPDFFont::GetMetrics(const SkTypeface* typeface, in GetMetrics()
156 const std::vector<SkUnichar>& SkPDFFont::GetUnicodeMap(const SkTypeface* typeface, in GetUnicodeMap()
169 SkAdvancedTypefaceMetrics::FontType SkPDFFont::FontType(const SkAdvancedTypefaceMetrics& metrics) { in FontType()
182 SkPDFFont* SkPDFFont::GetFontResource(SkPDFDocument* doc, in GetFontResource()
187 const SkAdvancedTypefaceMetrics* fontMetrics = SkPDFFont::GetMetrics(face, doc); in GetFontResource()
191 SkAdvancedTypefaceMetrics::FontType type = SkPDFFont::FontType(metrics); in GetFontResource()
[all …]
DSkPDFType1Font.cpp233 SkPDFFont::PopulateCommonFontDescriptor(&descriptor, *info, emSize, 0); in make_type1_font_descriptor()
263 SkPDFFont::GetType1GlyphNames(*typeface, names.data()); in type_1_glyphnames()
276 const SkAdvancedTypefaceMetrics* info = SkPDFFont::GetMetrics(typeface, doc); in type1_font_descriptor()
283 void SkPDFEmitType1Font(const SkPDFFont& pdfFont, SkPDFDocument* doc) { in SkPDFEmitType1Font()
292 if (const SkAdvancedTypefaceMetrics* info = SkPDFFont::GetMetrics(typeface, doc)) { in SkPDFEmitType1Font()
DSkPDFDocument.cpp537 static std::vector<const SkPDFFont*> get_fonts(const SkPDFDocument& canon) { in get_fonts()
538 std::vector<const SkPDFFont*> fonts; in get_fonts()
544 std::sort(fonts.begin(), fonts.end(), [](const SkPDFFont* u, const SkPDFFont* v) { in get_fonts()
583 for (const SkPDFFont* f : get_fonts(*this)) { in onClose()
DSkPDFDocumentPriv.h24 class SkPDFFont; variable
150 SkTHashMap<uint64_t, SkPDFFont> fFontMap;
DSkPDFType1Font.h9 void SkPDFEmitType1Font(const SkPDFFont&, SkPDFDocument*);
DSkPDFDevice.cpp667 void setFont(SkPDFFont* pdfFont) { in setFont()
719 SkPDFFont* fPDFFont = nullptr;
794 static bool needs_new_font(SkPDFFont* font, const SkGlyph* glyph, in needs_new_font()
836 const SkAdvancedTypefaceMetrics* metrics = SkPDFFont::GetMetrics(typeface, fDocument); in internalDrawGlyphRun()
840 SkAdvancedTypefaceMetrics::FontType fontType = SkPDFFont::FontType(*metrics); in internalDrawGlyphRun()
842 const std::vector<SkUnichar>& glyphToUnicode = SkPDFFont::GetUnicodeMap(typeface, fDocument); in internalDrawGlyphRun()
877 SkPDFFont* font = nullptr; in internalDrawGlyphRun()
941 font = SkPDFFont::GetFontResource(fDocument, glyphs[index], typeface); in internalDrawGlyphRun()
DSkPDFDevice.h34 class SkPDFFont; variable
/third_party/skia/gn/
Dpdf.gni29 "$_src/pdf/SkPDFFont.cpp",
30 "$_src/pdf/SkPDFFont.h",
/third_party/skia/tests/
DPDFPrimitivesTest.cpp318 !SkPDFFont::CanEmbedTypeface(noEmbedTypeface.get(), &doc)); in DEF_TEST()
322 SkPDFFont::CanEmbedTypeface(portableTypeface.get(), &doc)); in DEF_TEST()
/third_party/skia/include/core/
DSkTypeface.h441 friend class SkPDFFont; // getAdvancedMetrics variable