Index: src/ports/SkFontHost_fontconfig.cpp |
diff --git a/src/ports/SkFontHost_fontconfig.cpp b/src/ports/SkFontHost_fontconfig.cpp |
index ace705871416ceb6d0f2ab9bb4dca6f823583416..57252d0c18557bbcb2e6b9c51c5f27c64ee21078 100644 |
--- a/src/ports/SkFontHost_fontconfig.cpp |
+++ b/src/ports/SkFontHost_fontconfig.cpp |
@@ -162,6 +162,10 @@ SkStream* FontConfigTypeface::onOpenStream(int* ttcIndex) const { |
return stream; |
} |
+void FontConfigTypeface::onGetFamilyName(SkString* familyName) const { |
+ *familyName = this->getFamilyName(); |
+} |
+ |
void FontConfigTypeface::onGetFontDescriptor(SkFontDescriptor* desc, |
bool* isLocalStream) const { |
desc->setFamilyName(this->getFamilyName()); |