7036275: EUDC character is not displayed on Swing if ClearType is enabled

Reviewed-by: igor, jgodinez
This commit is contained in:
Phil Race 2011-04-13 15:17:42 -07:00
parent 10ec13e8ef
commit 5ef43cd3d8

View File

@ -62,8 +62,11 @@ public class Win32FontManager extends SunFontManager {
String eudcFile = getEUDCFontFile();
if (eudcFile != null) {
try {
/* Must use Java rasteriser since GDI doesn't
* enumerate (allow direct use) of EUDC fonts.
*/
eudcFont = new TrueTypeFont(eudcFile, null, 0,
false);
true);
} catch (FontFormatException e) {
}
}