aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-24 21:39:35 +0000
committerGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-24 21:39:35 +0000
commit3c996f8a15e5d8fada9550d978e9b5344b81d276 (patch)
tree662398b8df4b3155059856310ff888e6f7c90dc1 /include
parentedf00c7a59b6f18f4bd90932734b42ec941b4491 (diff)
Implement charToGlyph on remaining ports.
R=reed@google.com Review URL: https://codereview.chromium.org/22859070 git-svn-id: http://skia.googlecode.com/svn/trunk@11955 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/core/SkTypeface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h
index ca88a1bc76..eebb1276f7 100644
--- a/include/core/SkTypeface.h
+++ b/include/core/SkTypeface.h
@@ -160,7 +160,7 @@ public:
* optionally return their corresponding glyph IDs (if glyphs is not NULL).
*
* @param chars pointer to the array of character codes
- * @param encoding how the characteds are encoded
+ * @param encoding how the characters are encoded
* @param glyphs (optional) returns the corresponding glyph IDs for each
* character code, up to glyphCount values. If a character code is
* not found in the typeface, the corresponding glyph ID will be 0.
@@ -307,7 +307,7 @@ protected:
virtual void onGetFontDescriptor(SkFontDescriptor*, bool* isLocal) const = 0;
virtual int onCharsToGlyphs(const void* chars, Encoding, uint16_t glyphs[],
- int glyphCount) const;
+ int glyphCount) const = 0;
virtual int onCountGlyphs() const = 0;
virtual int onGetUPEM() const = 0;