Home
last modified time | relevance | path

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

/external/skqp/src/pdf/
DSkPDFFont.h24 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;
DSkPDFFont.cpp34 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 …]
DSkPDFDocument.cpp443 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()
DSkPDFDocumentPriv.h24 class SkPDFFont; variable
108 SkTHashMap<uint64_t, SkPDFFont> fFontMap;
DSkPDFDevice.cpp1050 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()
DSkPDFDevice.h33 class SkPDFFont; variable
/external/skia/src/pdf/
DSkPDFFont.h24 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;
DSkPDFFont.cpp34 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 …]
DSkPDFDocument.cpp442 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()
DSkPDFDocumentPriv.h24 class SkPDFFont; variable
108 SkTHashMap<uint64_t, SkPDFFont> fFontMap;
DSkPDFDevice.cpp1037 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()
DSkPDFDevice.h33 class SkPDFFont; variable
/external/skia/gn/
Dpdf.gni29 "$_src/pdf/SkPDFFont.cpp",
30 "$_src/pdf/SkPDFFont.h",
/external/skqp/gn/
Dpdf.gni29 "$_src/pdf/SkPDFFont.cpp",
30 "$_src/pdf/SkPDFFont.h",
/external/skia/tests/
DPDFPrimitivesTest.cpp315 !SkPDFFont::CanEmbedTypeface(noEmbedTypeface.get(), &doc)); in DEF_TEST()
320 SkPDFFont::CanEmbedTypeface(portableTypeface.get(), &doc)); in DEF_TEST()
/external/skqp/tests/
DPDFPrimitivesTest.cpp315 !SkPDFFont::CanEmbedTypeface(noEmbedTypeface.get(), &doc)); in DEF_TEST()
320 SkPDFFont::CanEmbedTypeface(portableTypeface.get(), &doc)); in DEF_TEST()
/external/skqp/include/core/
DSkTypeface.h424 friend class SkPDFFont; // getAdvancedMetrics variable
/external/skia/include/core/
DSkTypeface.h424 friend class SkPDFFont; // getAdvancedMetrics variable
/external/skia/
DAndroid.bp402 "src/pdf/SkPDFFont.cpp",