All of my Java applications look strange on my laptop because everything else has subpixel rendering, but the Java apps don't. How do I enable subpixel rendering for all Java applications in Ubuntu (Intrepid)?
All of my Java applications look strange on my laptop because everything else has subpixel rendering, but the Java apps don't. How do I enable subpixel rendering for all Java applications in Ubuntu (Intrepid)?
Don't Java programs read ~/.fonts.conf for that? Make sure yours looks something like this. If you don't have one, create it.
You just need to close and reopen any applications to see the changes take effect.Code:<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="font" > <edit mode="assign" name="embeddedbitmap"> <bool>true</bool> </edit> </match> <match target="font" > <edit mode="assign" name="rgba"> <const>rgb</const> </edit> </match> <match target="font" > <edit mode="assign" name="autohint"> <bool>false</bool> </edit> </match> <match target="font" > <edit mode="assign" name="hinting"> <bool>true</bool> </edit> </match> <match target="font" > <edit mode="assign" name="hintstyle"> <const>hintfull</const> </edit> </match> <match target="font" > <edit mode="assign" name="antialias"> <bool>true</bool> </edit> </match> </fontconfig>
...
That's a much handier way for configuring my QT applications, but it doesn't work for Java.
Hmm. What of fontconfig, then?
Code:$ sudo dpkg-reconfigure fontconfig-config
- Native
- Always
- Yes
Code:$ sudo dpkg-reconfigure fontconfig
...
It's still the same.
I've been using Sun's proprietary Java but Freetype seems to have been implemented only in OpenJDK. So I'm going to install OpenJDK and see if there's any difference.
No, that didn't seem to work either.
Bump
GENERATION 20: The first time you see this, copy it into your signature and add 1 to the generation. Social experiment.
http://counter.li.org/cgi-bin/certificate.cgi/532379
Bookmarks