Mailinglist Archive: opensuse-bugs (6763 mails)
|< Previous||Next >|
[Bug 732447] New: fonts-config builds fontconfig.SuSE.properties which refers to missing Lucida fonts
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 23 Nov 2011 21:46:17 +0000
- Message-id: <firstname.lastname@example.org/>
Summary: fonts-config builds fontconfig.SuSE.properties which
refers to missing Lucida fonts
Product: openSUSE 12.1
Priority: P5 - None
Found By: ---
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101
After doing the same fixes with every new installation I guess it's about time
to look for the cause of the trouble.
For some time now, openJDK is automatically installed in place of SunJDK. Since
then I have recurring problems with logical fonts. In particular, the
"Monospaced" font is not monospaced but some replacement font which is even
The reason is that SunJava REs include the Lucida fonts which are not bundled
with openJDK. But even when openJDK is used, the fonts-config script (which is
part of openSUSE) creates a fontconfig.SuSE.properties in $JRE_HOME/lib which
refers to the Lucida fonts. This again is due to the template with contains
these font names.
Unfortunately, Java does not allow for a user fontconfig but only reads the
fontconfig in $JRE_HOME. That is, each time I reinstall, I have to fix the
file. It is possible to override the file with another fontconfig file by
including the version numbers in the file name, but that is, in fact, just a
I suggest to update the template to use a font that is guaranteed to be
delivered with openSUSE, e.g. Liberation.
Steps to Reproduce:
1. Install openJDK
2. Make sure that the font "Lucida Typewriter" is not installed by some other
3. Start a Java application that uses the logical font Monospaced
Java output is rendered with an unexpected font, not necessarily monospaced.
The logical font "Monospaced" should be mapped to a physical font that is
Problem can be solved by updating the
/usr/share/fonts-config/fontconfig.SuSE.properties.template, possibly depending
on whether openJDK or SunJDK is installed.
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
|< Previous||Next >|