Eric Firing wrote: > Michael Droettboom wrote: >> Even if my Postscript is to spec, it's not terribly useful if it >> crashes a very popular tool ;) >> >> I'm curious -- does the file fail if you set "ps.fonttype: 42" in >> your matplotlibrc? That would at least rule out anything non-font in >> the file. I should also add that the Type 42 output is now using the ttconv code, not the old Python code. As a third point of comparison, it might be worth reverting my changes (just reverting backend_ps.py should be enough) and trying that. (I'll also send you a copy of simple_plot.ps I have lying around off-list to save you the trouble). >> >> I just built my own ESP Ghostscript 815.04 and am able to make some >> pretty high resolution renderings at the commandline. I'm not >> exactly sure how "400%" in the GUI relates to dpi, but I can do 1200 >> dpi without problem. Perhaps there's something else going on in the >> evince stack... I'll try later on my Ubuntu box at home, since >> building all that on this RHEL4 box could be time consuming. > > If you have gv installed on your RHEL4 box, you can use that instead > of evince. I don't have gv installed, but I tried ggv and kghostscript and both can zoom into their maximums without crashing. Both are running against ghostscript 7.07, however. >> >> Does the following work for you? >> >> gs -sOUTPUT_DEVICE=pngalpha -sOutputFile=test%03d.png -r1200x1200 >> simple_plot_ps.ps > gs -sDEVICE=pngalpha -sOutputFile=testps2.png -dNOPAUSE -r1200 -c > showpage -c quit testps.ps > > does not yield an error message. The problem seems peculiar to the > way gui apps are running gs, and to the mpl way of generating the > postscript, since it does not occur with cairo-generated postscript. It seems that way. Now if only I knew why that was... ;)
Cheers, Mike ------------------------------------------------------------------------- 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-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel