-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
6u10
-
x86
-
windows_2003
Have created (with eudcedit.exe) a EUDC font that contains two characters with
codes in PUA 0xE000 and 0xE001. This font has been registered in
HKEY_CURRENT_USER\EUDC\Unicode and HKEY_CURRENT_USER\EUDC\1252 as
Name Type Value
SystemDefaultEUDCFont REG_SZ C:\WINDOWS\FONTS\EUDC.TTE
These two characters have been rendered neither with Font2DTest
(jdk1.6.0_10\demo\jfc\Font2DTest) nor with simple Test-Program below.
Furthermore EUDC font has not been registered in fontconfig.properties.src (jre6\lib\fontconfig.properties.src).
OS: Windows Server 2003, Java Version: 1.6.0_10.
public class Test extends Frame {
Test(String str){
super(str);
setSize(600, 600);
setVisible(true);
test();
}
private void test() {
Graphics g = getGraphics();
Graphics2D g2 = (Graphics2D)g;
g2.setFont(new Font("Arial", Font.PLAIN, 32));
char[] chs = {
0x74, //t
0x73, //s
0xe000, // eudc
0xe001 // eudc
};
g2.drawChars( chs, 0, chs.length, 100, 100 );
}
}
codes in PUA 0xE000 and 0xE001. This font has been registered in
HKEY_CURRENT_USER\EUDC\Unicode and HKEY_CURRENT_USER\EUDC\1252 as
Name Type Value
SystemDefaultEUDCFont REG_SZ C:\WINDOWS\FONTS\EUDC.TTE
These two characters have been rendered neither with Font2DTest
(jdk1.6.0_10\demo\jfc\Font2DTest) nor with simple Test-Program below.
Furthermore EUDC font has not been registered in fontconfig.properties.src (jre6\lib\fontconfig.properties.src).
OS: Windows Server 2003, Java Version: 1.6.0_10.
public class Test extends Frame {
Test(String str){
super(str);
setSize(600, 600);
setVisible(true);
test();
}
private void test() {
Graphics g = getGraphics();
Graphics2D g2 = (Graphics2D)g;
g2.setFont(new Font("Arial", Font.PLAIN, 32));
char[] chs = {
0x74, //t
0x73, //s
0xe000, // eudc
0xe001 // eudc
};
g2.drawChars( chs, 0, chs.length, 100, 100 );
}
}
- duplicates
-
JDK-6396581 Request other locales besides CJK to support EUDC
-
- Closed
-
- relates to
-
JDK-6951501 EUDC character is not displayed on Swing
-
- Closed
-