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

Unified Diff: include/core/SkTypeface.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
Index: include/core/SkTypeface.h
===================================================================
--- include/core/SkTypeface.h (revision 8346)
+++ include/core/SkTypeface.h (working copy)
@@ -218,13 +218,13 @@
const uint32_t* glyphIDs,
uint32_t glyphIDsCount) const = 0;
virtual SkStream* onOpenStream(int* ttcIndex) const = 0;
+ virtual void onGetFontDescriptor(SkFontDescriptor*, bool* isLocal) const = 0;
bungeman-skia 2013/03/22 21:04:05 I know isLocal describes what it is usually used f
reed1 2013/03/25 12:26:27 Not so sure. I think the call should return inform
virtual int onGetUPEM() const;
virtual int onGetTableTags(SkFontTableTag tags[]) const;
virtual size_t onGetTableData(SkFontTableTag, size_t offset,
size_t length, void* data) const;
- virtual void onGetFontDescriptor(SkFontDescriptor*) const;
private:
SkFontID fUniqueID;
« no previous file with comments | « include/core/SkFontHost.h ('k') | src/core/SkTypeface.cpp » ('j') | src/core/SkTypeface.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698