|
From: Michael D. <md...@st...> - 2010-10-04 13:33:39
|
You can set the rcParam "ps.useafm" to True, which will use the built-in Postscript fonts (and not embed any in the file), or set "ps.fonttype" to "42" which will embed the complete Truetype font in the file. Mike On 10/02/2010 01:55 PM, Ed Lazarus wrote: > All, > > I am wondering if anyone knows of a working example that yields > a postscript figure editable in Adobe Illustrator; that is, the > characters are editable as characters. > I have only been able to get drawn fonts and would love to have a test > case that is known to work. > > My environment is: >> python > Python 2.6.6 (r266:84292, Sep 11 2010, 15:25:14) > [GCC 4.2.1 (Apple Inc. build 5659)] on darwin > Type "help", "copyright", "credits" or "license" for more information. >>>> import matplotlib >>>> matplotlib.__version__ > '1.0.0' >>>> matplotlib.__file__ > '/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/__init__.pyc' >>>> > my rc file is: > backend : TkAgg # the default backend > interactive : True > ps.usedistiller : xpdf > > I can produce postscript fonts outside python, say in IDL. > I can produce postscript fonts in python using the psg package, but > not matplotlib. > In all the examples at http://matplotlib.sourceforge.net/ I did not > find anything that > explicitly addresses this issue. > > Thanks to anyone who answers with a test case. > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA |