Sorry, I made a mistake. The output was without fonts-uncore-core
installed. With the package the output is as follows.

Font family: Ubuntu plain=null bold=** TrueType Font: Family=Ubuntu
Name=Ubuntu Bold style=1 fileName=/usr/share/fonts/truetype/ubuntu-font-
family/Ubuntu-B.ttf italic=** TrueType Font: Family=Ubuntu Name=Ubuntu
Italic style=2 fileName=/usr/share/fonts/truetype/ubuntu-font-family
/Ubuntu-RI.ttf bolditalic=** TrueType Font: Family=Ubuntu Name=Ubuntu
Bold Italic style=3 fileName=/usr/share/fonts/truetype/ubuntu-font-
family/Ubuntu-BI.ttf

I copied fontconfig.properties to the proper location which fixed the
bold fonts.

Font family: Ubuntu plain=** TrueType Font: Family=Ubuntu Name=Ubuntu
style=0 fileName=/usr/share/fonts/truetype/ubuntu-font-
family/Ubuntu-R.ttf bold=** TrueType Font: Family=Ubuntu Name=Ubuntu
Bold style=1 fileName=/usr/share/fonts/truetype/ubuntu-font-
family/Ubuntu-B.ttf italic=** TrueType Font: Family=Ubuntu Name=Ubuntu
Italic style=2 fileName=/usr/share/fonts/truetype/ubuntu-font-family
/Ubuntu-RI.ttf bolditalic=** TrueType Font: Family=Ubuntu Name=Ubuntu
Bold Italic style=3 fileName=/usr/share/fonts/truetype/ubuntu-font-
family/Ubuntu-BI.ttf

In case someone else with Oracle Java wants to reproduce, I'm listing
simple steps.

$ apt-get download openjdk-7-jre-headless
$ dpkg-deb -x openjdk-7-jre-headless_7u25-2.3.12-4ubuntu3_i386.deb jdk
$ sudo cp jdk/etc/java-7-openjdk/fontconfig.properties 
/usr/lib/jvm/j2sdk1.7-oracle/jre/lib/fontconfig.Ubuntu.properties

-- 
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

Reply via email to