diff --git a/src/core/SkTypeface.cpp b/src/core/SkTypeface.cpp index 915b0e3d28..2d0471837e 100644 --- a/src/core/SkTypeface.cpp +++ b/src/core/SkTypeface.cpp @@ -225,20 +225,6 @@ int SkTypeface::onCharsToGlyphs(const void* chars, Encoding encoding, return 0; } -int SkTypeface::onGetUPEM() const { - int upem = 0; - - SkAdvancedTypefaceMetrics* metrics; - metrics = this->getAdvancedTypefaceMetrics( - SkAdvancedTypefaceMetrics::kNo_PerGlyphInfo, - NULL, 0); - if (metrics) { - upem = metrics->fEmSize; - metrics->unref(); - } - return upem; -} - int SkTypeface::onGetTableTags(SkFontTableTag tags[]) const { int ttcIndex; SkAutoTUnref stream(this->openStream(&ttcIndex));