Searched refs:SkPDFFont (Results 1 – 11 of 11) sorted by relevance
/third_party/skia/src/pdf/ |
D | SkPDFFont.h | 30 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;
|
D | SkPDFFont.cpp | 51 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 …]
|
D | SkPDFType1Font.cpp | 233 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()
|
D | SkPDFDocument.cpp | 537 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()
|
D | SkPDFDocumentPriv.h | 24 class SkPDFFont; variable 150 SkTHashMap<uint64_t, SkPDFFont> fFontMap;
|
D | SkPDFType1Font.h | 9 void SkPDFEmitType1Font(const SkPDFFont&, SkPDFDocument*);
|
D | SkPDFDevice.cpp | 667 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()
|
D | SkPDFDevice.h | 34 class SkPDFFont; variable
|
/third_party/skia/gn/ |
D | pdf.gni | 29 "$_src/pdf/SkPDFFont.cpp", 30 "$_src/pdf/SkPDFFont.h",
|
/third_party/skia/tests/ |
D | PDFPrimitivesTest.cpp | 318 !SkPDFFont::CanEmbedTypeface(noEmbedTypeface.get(), &doc)); in DEF_TEST() 322 SkPDFFont::CanEmbedTypeface(portableTypeface.get(), &doc)); in DEF_TEST()
|
/third_party/skia/include/core/ |
D | SkTypeface.h | 441 friend class SkPDFFont; // getAdvancedMetrics variable
|