Re: [Matplotlib-users] mathbb and eps export

2011-05-27 Thread Michael Droettboom
The main difference is file size. When ps.useafm is True, the fonts don't have to be embedded because it uses fonts that are required to be available with every Postscript interpreter. When it is False, the fonts have to be included as part of the file, resulting in larger file sizes. Mike

Re: [Matplotlib-users] mathbb and eps export

2011-05-27 Thread Oscar Benjamin
Thanks, Mike. I've been away from the Windows machine for a couple of days. I did ps.useafm set and your suggestion solved the problem. Is there a reason not to use TrueType in all of my figures (since it wasn't enabled by default)? Thanks, Oscar. On Tue, May 24, 2011 at 11:06:10AM -0400, Michae

Re: [Matplotlib-users] mathbb and eps export

2011-05-24 Thread Michael Droettboom
You probably have "ps.useafm" set, right? Unfortunately, the stock Postscript AFM fonts do not have a blackboard style. Setting ps.useafm to False will use Truetype fonts, and it should work. Cheers, Mike On 05/24/2011 10:50 AM, Oscar Benjamin wrote: Hello, I'm getting an error using latex

[Matplotlib-users] mathbb and eps export

2011-05-24 Thread Oscar Benjamin
Hello, I'm getting an error using latex mathbb and exporting to eps. The following script demonstrates: from pylab import figure, show fig = figure() ax = fig.add_subplot(1, 1, 1) ax.set_title(r'$\mathbb{R}$') fig.savefig('mathbb.eps') On Windows the above gives me a long traceback ending with: