Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: include/core/SkTypeface.h

Issue 66783003: Remove SK_FONTHOST_USES_FONTMGR. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkFontHost.h ('k') | include/ports/SkFontMgr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
-
- /**
* 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;
« no previous file with comments | « include/core/SkFontHost.h ('k') | include/ports/SkFontMgr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698