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

Unified Diff: src/ports/SkFontHost_fontconfig.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 | « src/ports/SkFontHost_FreeType_common.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkFontHost_fontconfig.cpp
===================================================================
--- src/ports/SkFontHost_fontconfig.cpp (revision 10497)
+++ src/ports/SkFontHost_fontconfig.cpp (working copy)
@@ -184,24 +184,6 @@
return stream;
}
-int FontConfigTypeface::onGetTableTags(SkFontTableTag tags[]) const {
- int ttcIndex;
- SkAutoTUnref<SkStream> stream(this->openStream(&ttcIndex));
- return stream.get()
- ? SkFontStream::GetTableTags(stream, ttcIndex, tags)
- : 0;
-}
-
-size_t FontConfigTypeface::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;
-}
-
void FontConfigTypeface::onGetFontDescriptor(SkFontDescriptor* desc,
bool* isLocalStream) const {
desc->setFamilyName(this->getFamilyName());
« no previous file with comments | « src/ports/SkFontHost_FreeType_common.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698