|
From: Jouni K. S. <jk...@ik...> - 2008-10-23 05:05:22
|
"David Krapohl" <dav...@gm...>
writes:
> I am getting an error with savefig and pdf when I try to used matplotlib
> with latex font rendering (attached below). In etc/matplotlibrc, I set
> text.latex.preamble : \usepackage{MinionPro},
> \renewcommand{\sfdefault}{Myriad-LF}
> It seems that the dviread backend does not find a specific *.vf,
> MinionPro-It--lcdfj.vf to be specific,
> file that is not needed in my opinion. Any ideas how to solve that?
Is that a commercial font? What exact files are installed when you
install that font in your texmf tree? Can dvipdfm/dvipdfmx/dvipdft
create a pdf file from a dvi file that uses this font?
>From your backtrace, it looks like dviread fails to parse a tfm file:
> File "/usr/lib/python2.5/site-packages/matplotlib/dviread.py", line 398,
> in __init__
> for char in range(0, max(tfm.width)) ]
> ValueError: max() arg is an empty sequence
--
Jouni K. Seppänen
http://www.iki.fi/jks
|