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

Unified Diff: src/fonts/SkGScalerContext.cpp

Issue 22859070: Implement charToGlyph on remaining ports. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Tabs and line length. Created 7 years, 2 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: src/fonts/SkGScalerContext.cpp
===================================================================
--- src/fonts/SkGScalerContext.cpp (revision 11929)
+++ src/fonts/SkGScalerContext.cpp (working copy)
@@ -194,6 +194,11 @@
fProxy->getFontDescriptor(desc, isLocal);
}
+int SkGTypeface::onCharsToGlyphs(const void* chars, Encoding encoding,
+ uint16_t glyphs[], int glyphCount) const {
+ return fProxy->charsToGlyphs(chars, encoding, glyphs, glyphCount);
+}
+
int SkGTypeface::onCountGlyphs() const {
return fProxy->countGlyphs();
}

Powered by Google App Engine
This is Rietveld 408576698