diff options
author | 2011-03-30 18:36:29 +0000 | |
---|---|---|
committer | 2011-03-30 18:36:29 +0000 | |
commit | 325cb9aa17b94258b362082eb3a799524f4345f3 (patch) | |
tree | ba2f296cc1337cb858ee2ea1289e153dc512588a /src/ports/SkFontHost_FONTPATH.cpp | |
parent | e733071abeb9cce9f524f5a85851bc7fbb8d867b (diff) |
Improve the SkAdvancedTypefaceMetrics interface w.r.t. vertical advances.
Add a template function to type safe-combine bits of a bit field.
Review URL: http://codereview.appspot.com/4313053
git-svn-id: http://skia.googlecode.com/svn/trunk@1020 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/ports/SkFontHost_FONTPATH.cpp')
-rw-r--r-- | src/ports/SkFontHost_FONTPATH.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ports/SkFontHost_FONTPATH.cpp b/src/ports/SkFontHost_FONTPATH.cpp index 98f4ba5dc7..afab8749f7 100644 --- a/src/ports/SkFontHost_FONTPATH.cpp +++ b/src/ports/SkFontHost_FONTPATH.cpp @@ -271,7 +271,8 @@ SkTypeface* SkFontHost::CreateTypeface(const SkTypeface* familyFace, // static SkAdvancedTypefaceMetrics* SkFontHost::GetAdvancedTypefaceMetrics( - uint32_t fontID, bool perGlyphInfo) { + uint32_t fontID, + SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo) { sk_throw(); // not implemented return NULL; } |