Hi list,
Following on from the recent thread about mathptmx.sty, I was
experimenting with using different math fonts in PyX. With the Arev
fonts (http://www.ctan.org/tex-archive/fonts/arev/) I get a runtime
error when running this simple script:
from pyx import *
text.set(mode=3D"latex")
text.preamble(r"\usepackage{arev}")
c =3D canvas.canvas()
c.text(0,0, r"$\psi$")
c.writePDFfile("psitest")
With PyX 0.9 I get the following error:
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/sit=
e-packages/pyx/dvifile.py",
line 430, in __init__
raise DVIError("design sizes do not agree: %d vs. %d" %
(self.tfmfile.designsize, d))
pyx.dvifile.DVIError: design sizes do not agree: 10446564 vs. 10446560
Maybe dvifile.py should allow a bit more leeway when comparing these
sizes. Four out of 10 million isn't much of a difference.
Cheers
Will
--=20
Dr William Henney, Centro de Radioastronom=EDa y Astrof=EDsica,
Universidad Nacional Aut=F3noma de M=E9xico, Campus Morelia