[Bug 31596] [Dapper] Text is not rendered properly
edschofield
schofield at ftw.at
Tue Mar 21 13:40:17 UTC 2006
Public bug report changed:
https://launchpad.net/malone/bugs/31596
Comment:
Actually, it seems that fonts.conf supplied with the upstream fontconfig
package does something similar, substituting the URW Nimbus fonts for
Times, Helvetica, and Courier, but that the Ubuntu package comments
these lines out. See
http://archive.ubuntu.com/ubuntu/pool/main/f/fontconfig/fontconfig_2.3.2-1.1ubuntu5.diff.gz
I don't know the rationale behind the Ubuntu fontconfig package
maintainer's decision to do this, but this is the cause of the incorrect
fonts in e.g. evince.
The removed lines from the above diff are:
<!--
- URW provides metric and shape compatible fonts for these 3 Adobe families.
- -->
- <alias>
- <family>Times</family>
- <accept><family>Nimbus Roman No9 L</family></accept>
- </alias>
- <alias>
- <family>Helvetica</family>
- <accept><family>Nimbus Sans L</family></accept>
- </alias>
- <alias>
- <family>Courier</family>
- <accept><family>Nimbus Mono L</family></accept>
- </alias>
-
One further note --- restoring these lines fixes these three fonts, but
not the substitution for the Adobe Symbol font:
user at host:~$ fc-match Symbol
DejaVuSans.ttf: "DejaVu Sans" "Book"
This causes evince to render PDF documents with non-embedded Symbol characters (such as mathematical papers) incorrectly, as in the attached screenshot. So I would also recommend making a Symbol substitution such as
<alias>
<family>Symbol</family>
<accept><family>Standard Symbols L</family></accept>
</alias>
or an equivalent.
More information about the desktop-bugs
mailing list