matplotlib-generated eps files and GSview

On XP, using MPL 0.61, I created an eps file, and tried to open it with GSview 4.6. I get a long message, the end of it is reproduced below. Strangely, Adobe Illustrator is able to load the same file, and if I save it as an eps from Illustrator, I can then open it with GSview. I dont have much experience in this area, and I can work around it, but I thought I should report the behavior.

Darren

--- Begin offending input ---
ve 870 def /uhookabove 871 def /Uhornacute 872 def

/uhornacute 873 def /Uhorngrave 874 def /uhorngrave 875 def /Uhornhookabove 876 def

/uhornhookabove 877 def /Uhorntilde 878 def /uhorntilde 879 def /Uhorndotbelow 880 def

/uhorndotbelow 881 def /glyph882 882 def /glyph883 883 def /Ydotbelow 884 def

/ydotbelow 885 def /Yhookabove 886 def /yhookabove 887 def /Ytilde 888 def

/ytilde 889 def /dong 890 def /tildecomb 891 def /currency 892 def

end readonly def

FontName currentdict end definefont pop

%EndFont

18.000 36.000 translate

0 rotate

/figure_clip {0 0 576.000 720.000 clipbox} def

figure_clip

gsave

newpath [ [ 0 0 ] [ 0 720 ] [ 576 720 ] [ 576 0 ] ] make-polygon

1.000 1.000 1.000 setrgbcolor

1.00000 setlinewidth

0 setlinejoin

2 setlinecap

gsr

1.000 1.000 1.000 setrgbcolor fill

grestore

gsave

newpath [ [ 72 72 ] [ 72 367.200 ] [ 532.800 367.200 ] [ 532.800 72 ] ] make-polygon

0.000 0.000 0.000 setrgbcolor

1.00000 setlinewidth

0 setlinejoin

2 setlinecap

gsr

1.000 1.000
--- End offending input ---
file offset = 22661
gsapi_run_string_continue returns -101

Possible soln:
http://sourceforge.net/mailarchive/forum.php?thread_id=5360593&forum_id=33405

hth,
Alan Isaac

ยทยทยท

On Thu, 02 Sep 2004, Darren Dale apparently wrote:

On XP, using MPL 0.61, I created an eps file, and tried to open it with
GSview 4.6. I get a long message, the end of it is reproduced below.
Strangely, Adobe Illustrator is able to load the same file, and if I
save it as an eps from Illustrator, I can then open it with GSview. I
dont have much experience in this area, and I can work around it, but I
thought I should report the behavior.

Possible soln:
http://sourceforge.net/mailarchive/forum.php?thread_id=5360593&forum_id=33405

That's embarressing. I am 100% certain that I made that change the day I originally read the post, but for some reason I had to do it again today.
It's fixed. Thanks.

Darren