-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
P3
-
None
-
Affects Version/s: 1.1.6
-
Component/s: client-libs
-
sparc
-
solaris_9
masaki.katakai@Japan 1998-02-02
1:2 asian fonts (fix of 4101757) only works for TextComponent.
I got 1.1.6(F) and tried to verify the fix of 4101757 that
enabling 1:2 ascii and kanji width. Unfortunately, it works
for only TextComponent.
Font monospaced=new Font("Monospaced", Font.PLAIN, 12);
Label label=new Label("Monospaced");
TextField textfield=new TextField("Monospaced");
label.setFont(monospace); // not 1:2
textfield.setFont(monospace); // 1:2
Please try the example above. jis201 fonts can be used on
only TextField. It's correct. But you can find the ascii font
of Label is not jis201, so it's not 1:2 ratio.
- duplicates
-
JDK-4101757 need access to Asian fonts with fixed 2-to-1 width ratios
-
- Closed
-