https://bugzilla.novell.com/show_bug.cgi?id=732447 https://bugzilla.novell.com/show_bug.cgi?id=732447#c0 Summary: fonts-config builds fontconfig.SuSE.properties which refers to missing Lucida fonts Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: All OS/Version: All Status: NEW Severity: Minor Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: Michael.Zapf@web.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 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 proportional. 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 workaround. I suggest to update the template to use a font that is guaranteed to be delivered with openSUSE, e.g. Liberation. Michael Reproducible: Always Steps to Reproduce: 1. Install openJDK 2. Make sure that the font "Lucida Typewriter" is not installed by some other application 3. Start a Java application that uses the logical font Monospaced Actual Results: Java output is rendered with an unexpected font, not necessarily monospaced. Expected Results: The logical font "Monospaced" should be mapped to a physical font that is monospaced. 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.