Hello André and Jörg, I am not quite sure whether the following issue should already be solved by the new fontmap-system. Unfortunately, it still occurs in the current SVN version:
The ligature "ff" in the following example comes out as the wrong
character:
-------------- code -------------------------
from pyx import *
text.set(mode="latex")
text.preamble(r"\usepackage{times}")
c = canvas.canvas()
c.text(0, 0, r"Diffusion")
c.writeEPSfile("times")
c.writePDFfile("times")
----------------------------------------------
The outcome is the same both in EPS and PDF. The font which is
internally used is "ptmr7t", a virtual font which consists of
"ptmr8r". When run pdflatex with the same example, it tells me that is
uses utmr8a.pfb, which is correct, as I have the map entry
ptmr8r NimbusRomNo9L-Regu "TeXBase1Encoding ReEncodeFont" <8r.enc <utmr8a.pfb
(both in psfonts.map and pdftex.map). However, the outcome from PyX
and from pdfTeX are different: see the attachments.
Michael
pyx.pdf
Description: Adobe PDF document
pdftex.pdf
Description: Adobe PDF document
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ PyX-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-devel
