diff options
Diffstat (limited to 'src/core/SkTypeface.cpp')
-rw-r--r-- | src/core/SkTypeface.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/SkTypeface.cpp b/src/core/SkTypeface.cpp index c6337d7852..92c8c09e33 100644 --- a/src/core/SkTypeface.cpp +++ b/src/core/SkTypeface.cpp @@ -291,6 +291,10 @@ void SkTypeface::getFamilyName(SkString* name) const { this->onGetFamilyName(name); } +void SkTypeface::getGlyphToUnicodeMap(SkUnichar* dst) const { + sk_bzero(dst, sizeof(SkUnichar) * this->countGlyphs()); +} + std::unique_ptr<SkAdvancedTypefaceMetrics> SkTypeface::getAdvancedMetrics() const { std::unique_ptr<SkAdvancedTypefaceMetrics> result = this->onGetAdvancedMetrics(); if (result && result->fPostScriptName.isEmpty()) { |