Index: WebCore/platform/graphics/opentype/OpenTypeUtilities.cpp |
=================================================================== |
--- WebCore/platform/graphics/opentype/OpenTypeUtilities.cpp (revision 33661) |
+++ WebCore/platform/graphics/opentype/OpenTypeUtilities.cpp (working copy) |
@@ -435,7 +435,7 @@ |
DWORD numFonts = 0; |
HANDLE fontHandle = AddFontMemResourceEx(rewrittenFontData.data(), fontData->size() + nameTableSize, 0, &numFonts); |
- if (fontHandle && numFonts != 1) { |
+ if (fontHandle && numFonts < 1) { |
RemoveFontMemResourceEx(fontHandle); |
return 0; |
} |