Index: src/ports/SkFontHost_linux.cpp |
diff --git a/src/ports/SkFontHost_linux.cpp b/src/ports/SkFontHost_linux.cpp |
index 72a63996129852c89bc39c952aab8a3c5b335529..2904cac9bcecd34c19c5364bf709f3d881b6d343 100644 |
--- a/src/ports/SkFontHost_linux.cpp |
+++ b/src/ports/SkFontHost_linux.cpp |
@@ -40,6 +40,10 @@ public: |
virtual const char* getUniqueString() const = 0; |
protected: |
+ virtual void onGetFamilyName(SkString* familyName) const SK_OVERRIDE { |
+ *familyName = fFamilyName; |
+ } |
+ |
virtual void onGetFontDescriptor(SkFontDescriptor* desc, bool* isLocal) const SK_OVERRIDE { |
desc->setFamilyName(fFamilyName.c_str()); |
desc->setFontFileName(this->getUniqueString()); |