dviread: usetex for the PDF backend

It turns out (thanks to Darren for the debug info) that AFM files do not
exist for all fonts in all current TeX distributions, so I have modified
the pdf backend to not use them. This loses some information that is
required by the pdf spec (such as the x-height and stem widths of the
embedded font) but at least in some tests Preview.app and Adobe Reader
don't seem to mind.

···

--
Jouni K. Sepp�nen
http://www.iki.fi/jks

Jouni, I just ran tex_demo.py, which I modified to yield a pdf. The results
are really impressive. In an earlier post you mentioned that transformations
of Type-1 fonts probably requires a complete type-1 parser. Do you mean
matplotlib's ft2font is missing some functionality?

Darren

dviread.pdf (253 KB)

epstopdf.pdf (6.99 KB)

···

On Sunday 30 September 2007 04:16:08 pm Jouni K. Seppänen wrote:

It turns out (thanks to Darren for the debug info) that AFM files do not
exist for all fonts in all current TeX distributions, so I have modified
the pdf backend to not use them. This loses some information that is
required by the pdf spec (such as the x-height and stem widths of the
embedded font) but at least in some tests Preview.app and Adobe Reader
don't seem to mind.