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

Unified Diff: src/core/SkTypeface.cpp

Issue 20672004: Implement onGetTableTags and onGetTableData on Windows. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 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 | « include/core/SkTypeface.h ('k') | src/ports/SkFontConfigTypeface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkTypeface.cpp
===================================================================
--- src/core/SkTypeface.cpp (revision 10497)
+++ src/core/SkTypeface.cpp (working copy)
@@ -8,7 +8,6 @@
#include "SkAdvancedTypefaceMetrics.h"
#include "SkFontDescriptor.h"
#include "SkFontHost.h"
-#include "SkFontStream.h"
#include "SkStream.h"
#include "SkTypeface.h"
@@ -224,18 +223,3 @@
}
return 0;
}
-
-int SkTypeface::onGetTableTags(SkFontTableTag tags[]) const {
- int ttcIndex;
- SkAutoTUnref<SkStream> stream(this->openStream(&ttcIndex));
- return stream.get() ? SkFontStream::GetTableTags(stream, ttcIndex, tags) : 0;
-}
-
-size_t SkTypeface::onGetTableData(SkFontTableTag tag, size_t offset,
- size_t length, void* data) const {
- int ttcIndex;
- SkAutoTUnref<SkStream> stream(this->openStream(&ttcIndex));
- return stream.get()
- ? SkFontStream::GetTableData(stream, ttcIndex, tag, offset, length, data)
- : 0;
-}
« no previous file with comments | « include/core/SkTypeface.h ('k') | src/ports/SkFontConfigTypeface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698