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:

[EMAIL PROTECTED]:~$ 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.

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to