Rework gfxFontUtils::MapCharToGlyphFormat4 to be more robust. DiD

This commit is contained in:
wolfbeast 2018-07-01 14:33:10 +02:00 committed by Roy Tam
commit da75ad73e0
3 changed files with 57 additions and 42 deletions

View file

@ -804,7 +804,7 @@ public:
bool& aUnicodeFont, bool& aSymbolFont);
static uint32_t
MapCharToGlyphFormat4(const uint8_t *aBuf, char16_t aCh);
MapCharToGlyphFormat4(const uint8_t *aBuf, uint32_t aLength, char16_t aCh);
static uint32_t
MapCharToGlyphFormat10(const uint8_t *aBuf, uint32_t aCh);