changeset 3937:3e583bc83a52

7036275: EUDC character is not displayed on Swing if ClearType is enabled Reviewed-by: igor, jgodinez
author prr
date Wed, 13 Apr 2011 15:17:42 -0700
parents 961237459de6
children 7f80ba09441c
files src/windows/classes/sun/awt/Win32FontManager.java
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/classes/sun/awt/Win32FontManager.java	Fri Apr 08 15:33:03 2011 -0700
+++ b/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) {
                         }
                     }