J Oishi <[EMAIL PROTECTED]> writes:

> I have an interesting problem using fonts in matplotlib on OS X 10.4.  
> When I use a font other than the Bitstream Vera provided with MPL  
> 0.90.0, I cannot create readable eps files.

FWIW, I have the same problem: eps files produced on OS X are huge,
and somehow broken. My guess is that the fonts that come with OS X
have some advanced features, which should somehow be stripped out when
embedding into an eps file.

Perhaps one way to address the problem would be to use fonttools¹ to
read the font file, prune the resulting data structure to include just
the characters needed, and again use fonttools to output the structure
into the eps file.

¹ http://sourceforge.net/projects/fonttools/

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


-------------------------------------------------------------------------
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/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to