From c622f4c37e1d0bebd3218343999c5b3e8add7e01 Mon Sep 17 00:00:00 2001 From: John Daggett Date: Fri, 27 Apr 2012 17:26:41 +0900 Subject: [PATCH] Bug 749139. Set build-on-fly flag on non-SFNT font type. r=jkew --- gfx/thebes/gfxGDIFontList.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/thebes/gfxGDIFontList.cpp b/gfx/thebes/gfxGDIFontList.cpp index ba92cd42197..16f3cbde714 100644 --- a/gfx/thebes/gfxGDIFontList.cpp +++ b/gfx/thebes/gfxGDIFontList.cpp @@ -229,6 +229,7 @@ GDIFontEntry::ReadCMAP() mFontType != GFX_FONT_TYPE_TRUETYPE) { mCharacterMap = new gfxCharacterMap(); + mCharacterMap->mBuildOnTheFly = true; return NS_ERROR_FAILURE; }