diff options
Diffstat (limited to 'include/core/SkTypeface.h')
-rw-r--r-- | include/core/SkTypeface.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h index af76824f47..d873e69b9d 100644 --- a/include/core/SkTypeface.h +++ b/include/core/SkTypeface.h @@ -281,17 +281,6 @@ public: SkStream* openStream(int* ttcIndex) const; /** - * Search within this typeface's family for a best match to the - * specified style, and return a ref to that typeface. Note: the - * returned object could be this, if it is the best match, or it - * could be a different typeface. Either way, the caller must balance - * this call with unref() on the returned object. - * - * Will never return NULL. - */ - SkTypeface* refMatchingStyle(Style) const; - - /** * Return a scalercontext for the given descriptor. If this fails, then * if allowFailure is true, this returns NULL, else it returns a * dummy scalercontext that will not crash, but will draw nothing. @@ -344,8 +333,6 @@ protected: virtual size_t onGetTableData(SkFontTableTag, size_t offset, size_t length, void* data) const = 0; - virtual SkTypeface* onRefMatchingStyle(Style styleBits) const = 0; - private: SkFontID fUniqueID; Style fStyle; |