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

Unified Diff: include/core/SkFontHost.h

Issue 12676024: Force all font backends to override onGetFontDescriptor, so we can (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 months 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 | « no previous file | include/core/SkTypeface.h » ('j') | include/core/SkTypeface.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkFontHost.h
===================================================================
--- include/core/SkFontHost.h (revision 8346)
+++ include/core/SkFontHost.h (working copy)
@@ -152,23 +152,6 @@
///////////////////////////////////////////////////////////////////////////
- /** Write a unique identifier to the stream, so that the same typeface can
- be retrieved with Deserialize(). The standard format is to serialize
- a SkFontDescriptor followed by a uint32_t length value. If the length
- is non-zero then the following bytes (of that length) represent a
- serialized copy of the font which can be recreated from a stream.
- */
- static void Serialize(const SkTypeface*, SkWStream*);
-
- /** Given a stream created by Serialize(), return a new typeface (like
- CreateTypeface) which is either an exact match to the one serialized
- or the best available typeface based on the data in the deserialized
- SkFontDescriptor.
- */
- static SkTypeface* Deserialize(SkStream*);
-
- ///////////////////////////////////////////////////////////////////////////
-
friend class SkTypeface;
};
« no previous file with comments | « no previous file | include/core/SkTypeface.h » ('j') | include/core/SkTypeface.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698