Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Font "Calibri" looks really bad under Windows XP (e.g. as a JLabel)

800390Jul 16 2010 — edited Jul 16 2010
Hello,

I'm working on a project, where the correct visual display is very important. The operating system of my developement system is Windows Vista. The OS of the system of our customers is Windows XP (with some exceptions).

Now I must find out that the Font "Calibri" is looking well under Windows Vista, but under Windows XP it looks very different - for example displayed via a JLabel. Note that the "Calibri" font is not generally looking bad under Windows XP: if I use the font with the same size in Word 2007 on the Windows XP machine, it looks very good, just like under Windows Vista.

To show the differences, I created an image:

[calibri_font_compare_xp-vista.png|http://temp.the-cr.de/2010-07/calibri_font_compare_xp-vista.png]

- On the first screenshot, you can see "Calibri" (plain, 18) under Windows Vista as a JLabel.
- On the second screenshot there is the same, but under Windows XP - you can clearly see the differences, the font is really looking bad, e.g. the "W" of "Windows" and "X" of "XP" are too thick.
- On the third screenshot, I used the "Calibri" font in Word 2007, on the same Windows XP machine. You can see that the font is looking well, like in the first screenshot.

I assume that it is a Java issue, or a combination of Java and Windows XP. Are there any solutions? Perhaps a configuration of Windows XP, some kind of font-smoothnes you can activate (I don't think so, because the display of the font is correct with Word 2007 under XP). Or is there a Java-based solution?

This is very important for me, since the display of "Calibri" under Windows XP with Java is not acceptable in the current manner (and a change of the font type in this project is currently not possible). I really hope that you can give me a hint or even a solution for this problem.


I really appreciate any help you can offer


Thanks a lot!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 13 2010
Added on Jul 16 2010
4 comments
555 views