| View previous topic :: View next topic |
| Author |
Message |
Small_Penguin Tux's lil' helper

Joined: 27 May 2005 Posts: 102
|
Posted: Mon Oct 01, 2012 7:02 pm Post subject: [SOLVED] Ugly fonts in java applications |
|
|
Hi,
After rebuilding fontconfig with infinality, some fonts in tvbrowser and projectx (both java apps) are really ugly, see this screenshot. In tvbrowser, it's only the fonts in the menu and dialogs, not in the program table.
Here's my configuration:
| Code: | eselect fontconfig list
Available fontconfig .conf files (* is enabled):
[1] 10-autohint.conf *
[2] 10-no-sub-pixel.conf
[3] 10-sub-pixel-bgr.conf
[4] 10-sub-pixel-rgb.conf *
[5] 10-sub-pixel-vbgr.conf
[6] 10-sub-pixel-vrgb.conf
[7] 10-unhinted.conf
[8] 11-lcdfilter-default.conf *
[9] 11-lcdfilter-legacy.conf
[10] 11-lcdfilter-light.conf
[11] 20-fix-globaladvance.conf *
[12] 20-unhint-small-dejavu-sans.conf
[13] 20-unhint-small-dejavu-sans-mono.conf
[14] 20-unhint-small-dejavu-serif.conf
[15] 20-unhint-small-vera.conf *
[16] 25-unhint-nonlatin.conf
[17] 30-metric-aliases.conf *
[18] 30-urw-aliases.conf *
[19] 40-nonlatin.conf *
[20] 42-luxi-mono.conf *
[21] 45-latin.conf *
[22] 49-sansserif.conf *
[23] 50-user.conf *
[24] 51-local.conf *
[25] 52-infinality.conf *
[26] 57-dejavu-sans.conf *
[27] 57-dejavu-sans-mono.conf *
[28] 57-dejavu-serif.conf *
[29] 60-latin.conf *
[30] 60-liberation.conf *
[31] 62-croscore-arimo.conf
[32] 62-croscore-cousine.conf
[33] 62-croscore-symbolneu.conf
[34] 62-croscore-tinos.conf
[35] 65-fonts-persian.conf *
[36] 65-khmer.conf *
[37] 65-nonlatin.conf *
[38] 69-unifont.conf *
[39] 70-no-bitmaps.conf *
[40] 70-yes-bitmaps.conf
[41] 80-delicious.conf *
[42] 90-synthetic.conf *
eselect infinality list
Available styles:
[1] debug
[2] infinality *
[3] linux
[4] nyx
[5] osx
[6] osx2
[7] win7
[8] win98
[9] winxp
eselect lcdfilter list
Available styles:
[1] custom
[2] default
[3] infinality
[4] infinality-classic
[5] infinality-nudge
[6] infinality-push
[7] infinality-sharpened *
[8] infinality-shove
[9] linux
[10] nyx
[11] osx
[12] ubuntu
[13] vanilla
[14] windows-7
[15] windows-7-light
[16] windows-xp
[17] windows-xp-light
eselect java-vm list
Available Java Virtual Machines:
[1] icedtea-bin-6
[2] icedtea-bin-7 system-vm user-vm
|
Anyone knows what could be wrong and how to restore nice fonts?
Last edited by Small_Penguin on Thu Oct 04, 2012 2:19 pm; edited 1 time in total |
|
| Back to top |
|
 |
Small_Penguin Tux's lil' helper

Joined: 27 May 2005 Posts: 102
|
Posted: Thu Oct 04, 2012 2:18 pm Post subject: [SOLVED] Ugly fonts in java applications |
|
|
I found out this is a problem with the JDK:
- Fonts look relatively good with sun-jdk-1.6.
- Fonts look not so good with oracle-jdk-bin-1.7.
- Fonts look ugly with icedtea-bin-6 and icedtea-bin-7.
|
|
| Back to top |
|
 |
jasn Guru


Joined: 05 May 2005 Posts: 366 Location: Maryland, US
|
Posted: Thu Mar 07, 2013 4:04 pm Post subject: |
|
|
I was actually searching for an answer to this very problem and came across this thread. Unfortunately this isn't a solution that would work for me, as I don't want to change my java implementation, (using icedtea-7). So using the tip from this blog post, I edited the shell script I used to load the java program in question, (jitsi), and voila, it now uses my system font. My jitsi shell script's last export line is now;
| Code: | | export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on" |
and now when it loads, there are no more ugly fonts.
Good Luck.. |
|
| Back to top |
|
 |
Small_Penguin Tux's lil' helper

Joined: 27 May 2005 Posts: 102
|
Posted: Thu Mar 07, 2013 4:16 pm Post subject: |
|
|
| Thanks, but unfortunately that did not help with tvbrowser (icedtea-bin-6). |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 7020
|
|
| Back to top |
|
 |
jasn Guru


Joined: 05 May 2005 Posts: 366 Location: Maryland, US
|
Posted: Thu Mar 07, 2013 6:44 pm Post subject: |
|
|
Paul,
In searching for an answer for this, I also stumbled across this closed bug report for icedtea6-bin-1.4. I'm not sure if this is an issue that's come up again, or if the bug report was addressing something different but the ugly font I was experiencing looked definitely like the OP in both this thread and in the bug report.
Thanks.. |
|
| Back to top |
|
 |
|