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="latex")
text.preamble(r"\usepackage{arev}")
c = 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/site-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


-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to