7036275: EUDC character is not displayed on Swing if ClearType is enabled
authorprr
Wed, 13 Apr 2011 15:17:42 -0700
changeset 9195 089fad98a0e0
parent 9194 72ae82b1b07c
child 9196 4ec60abb855b
7036275: EUDC character is not displayed on Swing if ClearType is enabled Reviewed-by: igor, jgodinez
jdk/src/windows/classes/sun/awt/Win32FontManager.java
--- 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) {
                         }
                     }