pdknsk (pdknsk) wrote: > Where do I find this file when using Oracle JDK?
I think it isn't installed any more, which is why earlier comments suggested copying it from JDK 6. The one from openjdk-7 is more appropriate though because it uses the correct fonts and paths for Ubuntu. > I got the file from package openjdk-7-jre-headless and copied it to > /usr/lib/jvm/j2re1.7-oracle/lib/fontconfig.Ubuntu.properties but it > doesn't seem to make any difference. That should be ../jre/lib/fontconfig.Ubuntu.properties. You should see other fontconfig files for e.g. Redhat, Suse in the same location. But either way in your case it probably won't change anything, because... > This is the result from your file. > > Font family: Ubuntu plain=** TrueType Font: Family=Ubuntu Name=Ubuntu > style=0 fileName=/usr/share/fonts/truetype/ubuntu-font- > family/Ubuntu-R.ttf bold=null italic=null bolditalic=** TrueType Font: > Family=Ubuntu Name=Ubuntu Bold Italic style=3 > fileName=/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-BI.ttf > > Maybe I'm wrong on Ubuntu Light rather than Ubuntu being used. I've > attached a screenshot. So you can see in the output that the plain style is in fact registered but the bold and italic are not; that's the same result I get on a system without fonts-unfonts-core installed. I think the font in your screenshot is Ubuntu and not Ubuntu Light, but using wrong hinting or rendering settings. That would be a bug in Java certainly, but separate from this. (You're not the first person to notice the incorrect hinting and in fact I can reproduce it easily.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/937200 Title: Fat fonts in Swing applications To manage notifications about this bug go to: https://bugs.launchpad.net/openjdk/+bug/937200/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs