Misconfigured fontconfig: 49-sans-serif.conf
Bug #303973 reported by
PCMan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fontconfig (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: fontconfig
In /etc/fonts/
<string>
<string>sans serif</string>
without this, flash plugin in Firefox cannot get correct fonts, and
displays non-ASCII characters in blocks.
If the string is changed to "sans serif", this can be fixed.
So weird... in 8.04, fonts in flash plugin used to work fine, but in 8.10, it's broken, AGAIN.
To post a comment you must log in.
Thank you for taking the time to report this bug and helping to make Ubuntu better. conf.d/ 49-sansserif. conf from Lucid seems to not have this problem , the bug seems to have been fixed a while ago. Closing bug report as fixed.
/etc/fonts/
<?xml version="1.0"?> sans-serif< /string> serif</ string> monospace< /string> sans-serif< /string>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
If the font still has no generic name, add sans-serif
-->
<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>
</test>
<edit name="family" mode="append_last">
<string>
</edit>
</match>
</fontconfig>