7036275: EUDC character is not displayed on Swing if ClearType is enabled
Reviewed-by: igor, jgodinez
--- a/jdk/src/windows/classes/sun/awt/Win32FontManager.java Fri Apr 08 15:33:03 2011 -0700
+++ b/jdk/src/windows/classes/sun/awt/Win32FontManager.java Wed Apr 13 15:17:42 2011 -0700
@@ -62,8 +62,11 @@
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) {
}
}