diff options
author | 2011-03-04 19:04:57 +0000 | |
---|---|---|
committer | 2011-03-04 19:04:57 +0000 | |
commit | 0bc7bf5fe418191473f8325d89dd9e74be3ff928 (patch) | |
tree | 7b9fb763b6d5f8df5ce9b6a31732b527c0dafb92 /include/core/SkScalerContext.h | |
parent | ee8c3176e53800109a88a96fd03b62c33f43e255 (diff) |
Implement SkScalerContext_Windows::generateGlyphCount() and provide access via SkGlyphCache interface.
* This will be used by PDF font code.
Review URL: http://codereview.appspot.com/4261042
git-svn-id: http://skia.googlecode.com/svn/trunk@888 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkScalerContext.h')
-rw-r--r-- | include/core/SkScalerContext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkScalerContext.h b/include/core/SkScalerContext.h index 5937819cbe..317658dbd1 100644 --- a/include/core/SkScalerContext.h +++ b/include/core/SkScalerContext.h @@ -230,7 +230,7 @@ public: */ SkUnichar glyphIDToChar(uint16_t glyphID); - unsigned getGlyphCount() const { return this->generateGlyphCount(); } + unsigned getGlyphCount() { return this->generateGlyphCount(); } void getAdvance(SkGlyph*); void getMetrics(SkGlyph*); void getImage(const SkGlyph&); @@ -245,7 +245,7 @@ protected: Rec fRec; unsigned fBaseGlyphCount; - virtual unsigned generateGlyphCount() const = 0; + virtual unsigned generateGlyphCount() = 0; virtual uint16_t generateCharToGlyph(SkUnichar) = 0; virtual void generateAdvance(SkGlyph*) = 0; virtual void generateMetrics(SkGlyph*) = 0; |