Chromium Code Reviews| Index: include/core/SkTypeface.h |
| =================================================================== |
| --- include/core/SkTypeface.h (revision 12201) |
| +++ include/core/SkTypeface.h (working copy) |
| @@ -281,17 +281,6 @@ |
| 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; |
|
bungeman-skia
2013/11/08 20:55:55
This is what I was discussing with you previously,
|
| - |
| - /** |
| * 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 @@ |
| 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; |