(svn r25493) -Codechange: support for the safer variant of ICU's getFontTable

This commit is contained in:
rubidium
2013-06-27 21:21:47 +00:00
parent b13d452bbe
commit f2d78be786
4 changed files with 24 additions and 11 deletions

View File

@@ -76,7 +76,13 @@ float Font::getScaleFactorY() const
const void *Font::getFontTable(LETag tableTag) const
{
return this->fc->GetFontTable(tableTag);
size_t length;
return this->getFontTable(tableTag, length);
}
const void *Font::getFontTable(LETag tableTag, size_t &length) const
{
return this->fc->GetFontTable(tableTag, length);
}
LEGlyphID Font::mapCharToGlyph(LEUnicode32 ch) const