提交 da58be75 编写于 作者: P prr

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

Reviewed-by: igor, jgodinez
上级 5b8309f5
...@@ -62,8 +62,11 @@ public class Win32FontManager extends SunFontManager { ...@@ -62,8 +62,11 @@ public class Win32FontManager extends SunFontManager {
String eudcFile = getEUDCFontFile(); String eudcFile = getEUDCFontFile();
if (eudcFile != null) { if (eudcFile != null) {
try { try {
/* Must use Java rasteriser since GDI doesn't
* enumerate (allow direct use) of EUDC fonts.
*/
eudcFont = new TrueTypeFont(eudcFile, null, 0, eudcFont = new TrueTypeFont(eudcFile, null, 0,
false); true);
} catch (FontFormatException e) { } catch (FontFormatException e) {
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册