pass ~0 for length when we want to know the length of a table (with dst==null)
git-svn-id: http://skia.googlecode.com/svn/trunk@7945 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
dc09f07671
commit
b753ef2ca9
@ -1751,7 +1751,7 @@ int SkFontHost::GetTableTags(SkFontID fontID, SkFontTableTag tags[]) {
|
||||
// DEPRECATED
|
||||
size_t SkFontHost::GetTableSize(SkFontID fontID, SkFontTableTag tag) {
|
||||
SkTypeface* face = SkTypefaceCache::FindByID(fontID);
|
||||
return face ? face->onGetTableData(tag, 0, 0, NULL) : 0;
|
||||
return face ? face->onGetTableData(tag, 0, ~0, NULL) : 0;
|
||||
}
|
||||
|
||||
// DEPRECATED
|
||||
|
Loading…
Reference in New Issue
Block a user