diff options
author | 2013-08-06 23:31:44 +0000 | |
---|---|---|
committer | 2013-08-06 23:31:44 +0000 | |
commit | 7ca6d2f0709d844f6afc601738b9453b3543d38b (patch) | |
tree | 272ed793ffbbb0294d80da2bc361ba3a3eb25935 /include | |
parent | 990d85f02ba6efaf6f3d75262d7ed650edc8afd5 (diff) |
Reverting r10589: Add getFamilyNames to SkTypeface
git-svn-id: http://skia.googlecode.com/svn/trunk@10590 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkTypeface.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h index a0ca182154..3cfa6ac3c6 100644 --- a/include/core/SkTypeface.h +++ b/include/core/SkTypeface.h @@ -225,21 +225,6 @@ public: */ int getUnitsPerEm() const; - struct LocalizedString { - SkString fString; - SkString fLanguage; - }; - class LocalizedStrings : ::SkNoncopyable { - public: - virtual bool next(LocalizedString* localizedString) = 0; - }; - /** - * Returns an iterator which will attempt to enumerate all of the - * family names specified by the font. - * It is the caller's responsibility to SK_DELETE the returned pointer. - */ - LocalizedStrings* getFamilyNames() const; - /** * Return the family name for this typeface. It will always be returned * encoded as UTF8, but the language of the name is whatever the host @@ -310,8 +295,6 @@ protected: virtual int onGetUPEM() const = 0; - virtual LocalizedStrings* onGetFamilyNames() const = 0; - virtual int onGetTableTags(SkFontTableTag tags[]) const = 0; virtual size_t onGetTableData(SkFontTableTag, size_t offset, size_t length, void* data) const = 0; |