|
Bugzilla – Full Text Bug Listing |
| Summary: | SuSE Serif Font has no Italics | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Brian Harris <brian> |
| Component: | Usability | Assignee: | Stefan Hundhammer <shundhammer> |
| Status: | RESOLVED FIXED | QA Contact: | Adrian Schröter <adrian.schroeter> |
| Severity: | Blocker | ||
| Priority: | P5 - None | CC: | coolo, kukuk |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | lang_fonts.diff | ||
|
Description
Brian Harris
2005-11-07 16:32:55 UTC
Please always selct the right component and version (opensuse is for the wiki at opensuse.org only). Thanks. Don't know if this is a real bug, asking the maintainer. Stephan? Removed SuSE fonts from desktop-data-* packages. "dejavu" package submitted to replace the SUSE fonts. The DejaVu fonts have Italic (Oblique) for Serif as well. that makes FIXED then I'll should probably add some rules to fontconfig to replace the SUSE fonts with the Déjàvu fonts. I've added the following rules to /etc/fonts/suse-pre-user.conf:
<!--
The SUSE fonts have been dropped from SuSE Linux >= 10.1 in
favour of the DejaVu fonts. All extensions the SUSE fonts had
over the original Bitstream fonts have already been merged into the
DejaVu fonts and the DejaVu fonts contain many glyphs not in
the SUSE fonts. Therefore there is no reason to use the SUSE
fonts anymore.
As old config files or documents users might still refer to the SUSE
fonts, we add rules here to use the DejaVu fonts as a replacement
if the SUSE fonts are missing (The SUSE fonts are still used
if they are still available for best compatibility).
-->
<match target="pattern">
<test name="family">
<string>SUSE Sans</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>DejaVu Sans</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>SUSE Sans Mono</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>DejaVu Sans Mono</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>SUSE Serif</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>DejaVu Serif</string>
</edit>
</match>
If some one of you wonder why beta4 can't display fonts properly during installation: it might be a good idea to tell someone if fonts are removed. Just an idea. the font is not removed, it is still in the package. Only the fontconfig conf file has been changed. Steffen changed the instsys to use the DejaVu fonts instead of the SUSE fonts. Unfortunately this change alone was not enough. I forgot to add the DejaVu fonts to the "prefer" lists in the fontconfig configuration. As FreeSans is in the "prefer" lists, YaST2 prefers "FreeSans" over "DejaVu" even if "DejaVu" is available. If I add "DejaVu" to the prefer lists, everything works again. Nevertheless it is still a mystery to me why the German umlauts were displayed as boxes because even FreeSans has German umlauts. I.e. even when neither the SUSE fonts nor the DejaVu fonts were available, YaST2 should still have been able to display German correctly with FreeSans. I don't yet know why this failed. I could be a bug in Qt or in fontconfig. I suspect fontconfig ... *** Bug 150482 has been marked as a duplicate of this bug. *** Created attachment 68134 [details]
lang_fonts.diff
Patch for /usr/share/YaST2/data/lang_fonts (package "yast1-qt").
The DejaVu fonts should be added to the file /usr/share/YaST2/data/lang_fonts as well. A patch to do this is attached in comment #13. Reassigning to Stefan Hundhammer <sh@suse.de> to apply this patch to the yast2-qt package. Patch applied. Will be rolled out with yast2-qt-2.13.14 |