"David Krapohl" <[EMAIL PROTECTED]> 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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users