==============================
Tested JDK : Tiger 1.5.0 b14
Tested OS : RedHat9.0(eucJP)
==============================
Redraw problem that Font, Style are not applyed properly on AWT component
is seen on RH9 with tiger b14.
For example, using CharView test case(attached),
changing Style from Plain to Bold, the character remains Plain.
However, changing component "Button" to "Label", style is applyed properly
from Plain to Bold.
To reproduce;
1. Compile attached test case (CharView.java and FontView.java).
2. launch test case.
% java CharView
3. Changing "Font" from "Serif" to SansSerif, Monospased, Dialog and DialogInput.
Then, you can see that Font is not applyed properly.
However, changing AWT component from Button to Label/CheckBox etc. or size from 8 to 12 or anyting, Font is applyed properly and redraw works fine.
The same problem is seen in "Style" as well as "Font",
This problem does not occur in TextFileld.
This problem starts from b13, it worked fine in b12 and Mantis FCS b28.
This problem is reproducile in C locale also.
This problem is not seen in Swing(like Font2D demo).
** NOTE **
The machine I tested is intalled RH9 patch as below;
rpm -i --replacefiles /java/jdk/linux/ws/redhat9/libc_hack.rpm
[###@###.### 2003-08-14]
Tested JDK : Tiger 1.5.0 b14
Tested OS : RedHat9.0(eucJP)
==============================
Redraw problem that Font, Style are not applyed properly on AWT component
is seen on RH9 with tiger b14.
For example, using CharView test case(attached),
changing Style from Plain to Bold, the character remains Plain.
However, changing component "Button" to "Label", style is applyed properly
from Plain to Bold.
To reproduce;
1. Compile attached test case (CharView.java and FontView.java).
2. launch test case.
% java CharView
3. Changing "Font" from "Serif" to SansSerif, Monospased, Dialog and DialogInput.
Then, you can see that Font is not applyed properly.
However, changing AWT component from Button to Label/CheckBox etc. or size from 8 to 12 or anyting, Font is applyed properly and redraw works fine.
The same problem is seen in "Style" as well as "Font",
This problem does not occur in TextFileld.
This problem starts from b13, it worked fine in b12 and Mantis FCS b28.
This problem is reproducile in C locale also.
This problem is not seen in Swing(like Font2D demo).
** NOTE **
The machine I tested is intalled RH9 patch as below;
rpm -i --replacefiles /java/jdk/linux/ws/redhat9/libc_hack.rpm
[###@###.### 2003-08-14]
- relates to
-
JDK-4921849 XAWT: painting inconsistency
-
- Resolved
-