/external/skqp/src/pdf/ |
D | SkPDFFont.h | 24 class SkPDFFont { 26 SkPDFFont() {} in SkPDFFont() function 27 ~SkPDFFont(); 28 SkPDFFont(SkPDFFont&&); 29 SkPDFFont& operator=(SkPDFFont&&); 53 bool multiByteGlyphs() const { return SkPDFFont::IsMultiByte(this->getType()); } in multiByteGlyphs() 86 static SkPDFFont* GetFontResource(SkPDFDocument* doc, 120 SkPDFFont(sk_sp<SkTypeface>, 128 SkPDFFont(const SkPDFFont&) = delete; 129 SkPDFFont& operator=(const SkPDFFont&) = delete;
|
D | SkPDFFont.cpp | 34 SkExclusiveStrikePtr SkPDFFont::MakeVectorCache(SkTypeface* face, int* size) { in MakeVectorCache() 97 SkPDFFont::~SkPDFFont() = default; 99 SkPDFFont::SkPDFFont(SkPDFFont&&) = default; 101 SkPDFFont& SkPDFFont::operator=(SkPDFFont&&) = default; 107 const SkAdvancedTypefaceMetrics* SkPDFFont::GetMetrics(const SkTypeface* typeface, in GetMetrics() 157 const std::vector<SkUnichar>& SkPDFFont::GetUnicodeMap(const SkTypeface* typeface, in GetUnicodeMap() 170 SkAdvancedTypefaceMetrics::FontType SkPDFFont::FontType(const SkAdvancedTypefaceMetrics& metrics) { in FontType() 188 SkPDFFont* SkPDFFont::GetFontResource(SkPDFDocument* doc, in GetFontResource() 194 const SkAdvancedTypefaceMetrics* fontMetrics = SkPDFFont::GetMetrics(face, doc); in GetFontResource() 198 SkAdvancedTypefaceMetrics::FontType type = SkPDFFont::FontType(metrics); in GetFontResource() [all …]
|
D | SkPDFDocument.cpp | 443 static std::vector<const SkPDFFont*> get_fonts(const SkPDFDocument& canon) { in get_fonts() 444 std::vector<const SkPDFFont*> fonts; in get_fonts() 447 canon.fFontMap.foreach([&fonts](uint64_t, const SkPDFFont& font) { fonts.push_back(&font); }); in get_fonts() 448 std::sort(fonts.begin(), fonts.end(), [](const SkPDFFont* u, const SkPDFFont* v) { in get_fonts() 487 for (const SkPDFFont* f : get_fonts(*this)) { in onClose()
|
D | SkPDFDocumentPriv.h | 24 class SkPDFFont; variable 108 SkTHashMap<uint64_t, SkPDFFont> fFontMap;
|
D | SkPDFDevice.cpp | 1050 static bool needs_new_font(SkPDFFont* font, SkGlyphID gid, SkStrike* cache, in needs_new_font() 1093 const SkAdvancedTypefaceMetrics* metrics = SkPDFFont::GetMetrics(typeface, fDocument); in internalDrawGlyphRun() 1097 SkAdvancedTypefaceMetrics::FontType fontType = SkPDFFont::FontType(*metrics); in internalDrawGlyphRun() 1099 const std::vector<SkUnichar>& glyphToUnicode = SkPDFFont::GetUnicodeMap(typeface, fDocument); in internalDrawGlyphRun() 1104 auto glyphCache = SkPDFFont::MakeVectorCache(typeface, &emSize); in internalDrawGlyphRun() 1147 SkPDFFont* font = nullptr; in internalDrawGlyphRun() 1208 font = SkPDFFont::GetFontResource(fDocument, glyphCache.get(), typeface, gid); in internalDrawGlyphRun()
|
D | SkPDFDevice.h | 33 class SkPDFFont; variable
|
/external/skia/src/pdf/ |
D | SkPDFFont.h | 24 class SkPDFFont { 26 SkPDFFont() {} in SkPDFFont() function 27 ~SkPDFFont(); 28 SkPDFFont(SkPDFFont&&); 29 SkPDFFont& operator=(SkPDFFont&&); 53 bool multiByteGlyphs() const { return SkPDFFont::IsMultiByte(this->getType()); } in multiByteGlyphs() 86 static SkPDFFont* GetFontResource(SkPDFDocument* doc, 120 SkPDFFont(sk_sp<SkTypeface>, 128 SkPDFFont(const SkPDFFont&) = delete; 129 SkPDFFont& operator=(const SkPDFFont&) = delete;
|
D | SkPDFFont.cpp | 34 SkExclusiveStrikePtr SkPDFFont::MakeVectorCache(SkTypeface* face, int* size) { in MakeVectorCache() 98 SkPDFFont::~SkPDFFont() = default; 100 SkPDFFont::SkPDFFont(SkPDFFont&&) = default; 102 SkPDFFont& SkPDFFont::operator=(SkPDFFont&&) = default; 108 const SkAdvancedTypefaceMetrics* SkPDFFont::GetMetrics(const SkTypeface* typeface, in GetMetrics() 158 const std::vector<SkUnichar>& SkPDFFont::GetUnicodeMap(const SkTypeface* typeface, in GetUnicodeMap() 171 SkAdvancedTypefaceMetrics::FontType SkPDFFont::FontType(const SkAdvancedTypefaceMetrics& metrics) { in FontType() 189 SkPDFFont* SkPDFFont::GetFontResource(SkPDFDocument* doc, in GetFontResource() 195 const SkAdvancedTypefaceMetrics* fontMetrics = SkPDFFont::GetMetrics(face, doc); in GetFontResource() 199 SkAdvancedTypefaceMetrics::FontType type = SkPDFFont::FontType(metrics); in GetFontResource() [all …]
|
D | SkPDFDocument.cpp | 442 static std::vector<const SkPDFFont*> get_fonts(const SkPDFDocument& canon) { in get_fonts() 443 std::vector<const SkPDFFont*> fonts; in get_fonts() 446 canon.fFontMap.foreach([&fonts](uint64_t, const SkPDFFont& font) { fonts.push_back(&font); }); in get_fonts() 447 std::sort(fonts.begin(), fonts.end(), [](const SkPDFFont* u, const SkPDFFont* v) { in get_fonts() 486 for (const SkPDFFont* f : get_fonts(*this)) { in onClose()
|
D | SkPDFDocumentPriv.h | 24 class SkPDFFont; variable 108 SkTHashMap<uint64_t, SkPDFFont> fFontMap;
|
D | SkPDFDevice.cpp | 1037 static bool needs_new_font(SkPDFFont* font, SkGlyphID gid, SkStrike* cache, in needs_new_font() 1080 const SkAdvancedTypefaceMetrics* metrics = SkPDFFont::GetMetrics(typeface, fDocument); in internalDrawGlyphRun() 1084 SkAdvancedTypefaceMetrics::FontType fontType = SkPDFFont::FontType(*metrics); in internalDrawGlyphRun() 1086 const std::vector<SkUnichar>& glyphToUnicode = SkPDFFont::GetUnicodeMap(typeface, fDocument); in internalDrawGlyphRun() 1091 auto glyphCache = SkPDFFont::MakeVectorCache(typeface, &emSize); in internalDrawGlyphRun() 1134 SkPDFFont* font = nullptr; in internalDrawGlyphRun() 1195 font = SkPDFFont::GetFontResource(fDocument, glyphCache.get(), typeface, gid); in internalDrawGlyphRun()
|
D | SkPDFDevice.h | 33 class SkPDFFont; variable
|
/external/skia/gn/ |
D | pdf.gni | 29 "$_src/pdf/SkPDFFont.cpp", 30 "$_src/pdf/SkPDFFont.h",
|
/external/skqp/gn/ |
D | pdf.gni | 29 "$_src/pdf/SkPDFFont.cpp", 30 "$_src/pdf/SkPDFFont.h",
|
/external/skia/tests/ |
D | PDFPrimitivesTest.cpp | 315 !SkPDFFont::CanEmbedTypeface(noEmbedTypeface.get(), &doc)); in DEF_TEST() 320 SkPDFFont::CanEmbedTypeface(portableTypeface.get(), &doc)); in DEF_TEST()
|
/external/skqp/tests/ |
D | PDFPrimitivesTest.cpp | 315 !SkPDFFont::CanEmbedTypeface(noEmbedTypeface.get(), &doc)); in DEF_TEST() 320 SkPDFFont::CanEmbedTypeface(portableTypeface.get(), &doc)); in DEF_TEST()
|
/external/skqp/include/core/ |
D | SkTypeface.h | 424 friend class SkPDFFont; // getAdvancedMetrics variable
|
/external/skia/include/core/ |
D | SkTypeface.h | 424 friend class SkPDFFont; // getAdvancedMetrics variable
|
/external/skia/ |
D | Android.bp | 402 "src/pdf/SkPDFFont.cpp",
|