Index: src/fonts/SkTestScalerContext.cpp |
diff --git a/src/fonts/SkTestScalerContext.cpp b/src/fonts/SkTestScalerContext.cpp |
index 854c98090488c3e8c53e8b99e03c0ccc3fa7883b..ee379f0a3852afe6463980369bccff082100240a 100644 |
--- a/src/fonts/SkTestScalerContext.cpp |
+++ b/src/fonts/SkTestScalerContext.cpp |
@@ -175,6 +175,10 @@ int SkTestTypeface::onCharsToGlyphs(const void* chars, Encoding encoding, |
return glyphCount; |
} |
+void SkTestTypeface::onGetFamilyName(SkString* familyName) const { |
+ *familyName = fTestFont->fName; |
+} |
+ |
SkTypeface::LocalizedStrings* SkTestTypeface::onCreateFamilyNameIterator() const { |
SkString familyName(fTestFont->fName); |
SkString language("und"); //undetermined |