-
Bug
-
Resolution: Duplicate
-
P3
-
7u4
-
x86
-
os_x
Platform: Mac OS X 10.7.2
Java: 7u4 b224
Download attached zip file and extract it. There are two files in the zip file: CharViewTest.java and FontView.java. Try to compile the two files together.
[jdkhome]/bin/javac CharViewTest.java
[jdkhome]/bin/java CharViewTest
The text displayed are chinese text of Unicode around 0x4E00. Try to select different font size, font style and components. The text can not be changed to font style bold or italic. While the English text at the top of the panel or at the beginning of each line can be changed to bold or italic. Chinese characters can only be displayed in plain font style on awt components.
Java: 7u4 b224
Download attached zip file and extract it. There are two files in the zip file: CharViewTest.java and FontView.java. Try to compile the two files together.
[jdkhome]/bin/javac CharViewTest.java
[jdkhome]/bin/java CharViewTest
The text displayed are chinese text of Unicode around 0x4E00. Try to select different font size, font style and components. The text can not be changed to font style bold or italic. While the English text at the top of the panel or at the beginning of each line can be changed to bold or italic. Chinese characters can only be displayed in plain font style on awt components.
- duplicates
-
JDK-7130554 [macosx] can not change the font style to italic when the text is in asian (not ASCII)
- Closed