Bug 749139. Set build-on-fly flag on non-SFNT font type. r=jkew

This commit is contained in:
John Daggett 2012-04-27 17:26:41 +09:00
parent bdc7f34c72
commit c622f4c37e

View File

@ -229,6 +229,7 @@ GDIFontEntry::ReadCMAP()
mFontType != GFX_FONT_TYPE_TRUETYPE) mFontType != GFX_FONT_TYPE_TRUETYPE)
{ {
mCharacterMap = new gfxCharacterMap(); mCharacterMap = new gfxCharacterMap();
mCharacterMap->mBuildOnTheFly = true;
return NS_ERROR_FAILURE; return NS_ERROR_FAILURE;
} }