-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi folks,
I encountered problems using the PDFwriter in combination with the
Palatino font. It seems like the font is not embedded at all in the
resulting PDF. Here's a minimal example:
from pyx import *
text.set(mode="latex")
text.preamble(r"\usepackage[T1]{fontenc}")
text.preamble(r"\usepackage{mathpazo}")
c = canvas.canvas()
c.text(0, 0, r"This is an example for Palatino font!")
c.writePDFfile(__file__[:-3], paperformat=document.paperformat.A4)
I used the CVS version of PyX together with teTeX 3.0. The Palatino font
becomes substituted in the Acrobat Reader 7.0 by Adobe Sans MM. For the
postscript file everything is fine. For the sake of completeness I
attach the output for the PDF. Any ideas?
Thanks in advance.
Micha
- --
- --------------------------------------------------------------------
Michael Strass * mailto:[EMAIL PROTECTED]
Lehrstuhl fuer Theoretische Physik I * Universitaetsstr. 1/Geb. Nord
D-86135 Augsburg * Tel.: +49-821-598-3230
- --------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFD+d8KnDFQHBNYmYcRAqAUAJ9Z+tuhnJ4yiBmEJJxOX0TgmPpuNACglSFp
bu4c934K5Qtz0gpFUZUJKkQ=
=RFnT
-----END PGP SIGNATURE-----
test-mathpazo.pdf
Description: Adobe PDF document
