Comment 74 for bug 937200

Revision history for this message
pdknsk (pdknsk) wrote :

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