-
Enhancement
-
Resolution: Fixed
-
P2
-
osol_2008.05
-
b64
-
generic
-
open_solaris
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2169446 | 6u12 | Philip Race | P3 | Resolved | Fixed | b02 |
If attached sample program is executed on Solaris nevada,
there is no problem about font quality because embeded bitmap font
is used (see HGPGothic.png). HG-PGothicB-Sun has 13 dot embedded bitmap in it.
===
% env LC_ALL=ja_JP.UTF-8 java -jar dist/DesktopApplication1.jar
Font = javax.swing.plaf.FontUIResource[family=HG-PGothicB-Sun,name=HG-PGothicB-Sun,style=plain,size=13]
===
However, it is executed on Indiana, font quality is not good because
font is rendered by outline without antialiasing on (see ipag.png).
IPA has no 13 dot embedded bitmap in it.
===
% env LC_ALL=ja_JP.UTF-8 java -jar dist/DesktopApplication1.jar
Font = javax.swing.plaf.FontUIResource[family=IPAPGothic,name=IPAPGothic,style=plain,size=13]
===
So I think that antialiasing should be turned on by default if font glyph is
rendered by outline (not embedded bitmap) to consider font quality.
I attached SwingSet2 result as SwingSet2_GTK_indiana.png when GTK style look & feel is selected.
Result is same with my sample program. This problem was first found when netbeans was used on indiana.
Also I found 6418032 which describes exactly same problem we encounted in indiana.
Indiana default Japanese font is IPA. So the situation is the same with Linux destro. From the following evalation,
===
The logic has been updated so on FC5 and other non-Sun desktops AA will be applied.
===
AA seems to be turned on FC5 and other non-Sun desktops. So same setting is also needed on indiana.
there is no problem about font quality because embeded bitmap font
is used (see HGPGothic.png). HG-PGothicB-Sun has 13 dot embedded bitmap in it.
===
% env LC_ALL=ja_JP.UTF-8 java -jar dist/DesktopApplication1.jar
Font = javax.swing.plaf.FontUIResource[family=HG-PGothicB-Sun,name=HG-PGothicB-Sun,style=plain,size=13]
===
However, it is executed on Indiana, font quality is not good because
font is rendered by outline without antialiasing on (see ipag.png).
IPA has no 13 dot embedded bitmap in it.
===
% env LC_ALL=ja_JP.UTF-8 java -jar dist/DesktopApplication1.jar
Font = javax.swing.plaf.FontUIResource[family=IPAPGothic,name=IPAPGothic,style=plain,size=13]
===
So I think that antialiasing should be turned on by default if font glyph is
rendered by outline (not embedded bitmap) to consider font quality.
I attached SwingSet2 result as SwingSet2_GTK_indiana.png when GTK style look & feel is selected.
Result is same with my sample program. This problem was first found when netbeans was used on indiana.
Also I found 6418032 which describes exactly same problem we encounted in indiana.
Indiana default Japanese font is IPA. So the situation is the same with Linux destro. From the following evalation,
===
The logic has been updated so on FC5 and other non-Sun desktops AA will be applied.
===
AA seems to be turned on FC5 and other non-Sun desktops. So same setting is also needed on indiana.
- backported by
-
JDK-2169446 Antialiasing for GTK L&F should be turned on by default if there is no embedded bitmap.
-
- Resolved
-
- relates to
-
JDK-6418032 GTK L&F in CJK locales disables use of desktop antialiasing.
-
- Resolved
-