aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-24 22:32:43 +0000
committerGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-24 22:32:43 +0000
commitfb1663a0a57656328277d02bef088d3afb695a7c (patch)
treeadf8e2b38eda296dfee4fe5355606665e80e9312 /include
parent172c363a68da7b46562fa9c6c8f15f3a7ffce5a1 (diff)
Fix non-bmp in generateCharToGlyph on Mac.
git-svn-id: http://skia.googlecode.com/svn/trunk@11957 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/ports/SkFontMgr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ports/SkFontMgr.h b/include/ports/SkFontMgr.h
index 4e5055246a..2a4219d4e3 100644
--- a/include/ports/SkFontMgr.h
+++ b/include/ports/SkFontMgr.h
@@ -99,7 +99,10 @@ protected:
virtual SkTypeface* onCreateFromData(SkData*, int ttcIndex) = 0;
virtual SkTypeface* onCreateFromStream(SkStream*, int ttcIndex) = 0;
virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) = 0;
- virtual SkTypeface* onLegacyCreateTypeface(const char familyName[], unsigned styleBits) = 0;
+
+ // TODO: make this pure-virtual once all ports know about it
+ virtual SkTypeface* onLegacyCreateTypeface(const char familyName[],
+ unsigned styleBits) = 0;
private:
static SkFontMgr* Factory(); // implemented by porting layer