[Bug 31596] [Dapper] Text is not rendered properly

edschofield schofield at ftw.at
Tue Mar 14 12:35:11 UTC 2006


Public bug report changed:
https://launchpad.net/malone/bugs/31596

Comment:
Adding the following lines to fonts.conf solves the problem:

<!--
  Alias well known Type1 font names to metric-equivalent TrueType fonts
-->
        <alias>
                <family>Times</family>
                <accept><family>FreeSerif</family></accept>
        </alias>
        <alias>
                <family>Helvetica</family>
                <accept><family>FreeSans</family></accept>
        </alias>
        <alias>
                <family>Courier</family>
                <accept><family>FreeMono</family></accept>
        </alias>
        <alias>
                <family>Symbol</family>
                <accept><family>Standard Symbols L</family></accept>
        </alias>

I think these fonts are metrically equivalent to the Adobe fonts.  The
alias for Symbol is necessary for some PDF files that use Times-
compatible math fonts without embedding them.

After this change, the command
    fc-match Times
gives:
    FreeSerif.ttf: "FreeSerif" "Medium"
instead of:
    VeraSe.ttf: "Bitstream Vera Serif" "Roman".
Then the svn-book.pdf file that Vincent Trouilliez identified as a problem looks fine under evince, as do the others I've tested.  

I don't think it's necessary to substitute the Microsoft equivalents of
these fonts (like SUSE does), even if the msttcorefonts package is
installed.  Substituting Times New Roman for Times, in particular, look
worse than substituting FreeSerif in my humble opinion.  See attached
screenshots.




More information about the desktop-bugs mailing list