TTF font subsetting for PS backend

Michael Droettboom wrote:

Here's simple_plot.ps generated with the old PS backend.

Crash! Again, with 400% magnification. So now you really are off the hook.

efiring@...340...:~/programs/py/mpl/tests$ evince simple_plot_ps.ps
ERROR: /unknownerror in --%op_show_continue--
Operand stack:

Execution stack:
    %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
    --dict:1126/1686(ro)(G)-- --dict:0/20(G)-- --dict:103/200(L)-- --dict:6/7(L)--
Current allocation mode is local
ESP Ghostscript 815.04: Unrecoverable error, exit code 1

** (evince:7887): WARNING **: Interpreter failed.

Eric

I was able to duplicate your bug on my Ubuntu Feisty box.

There is a bug against evince filed here:

http://bugzilla.gnome.org/show_bug.cgi?id=303365

It appears that evince always renders an entire page at a time. There are some reports that are very similar to yours -- but on the other hand, it doesn't explain why some files work and others don't. It also doesn't explain why gv is also be breaking for you, unless it does the same thing.

But I suppose we've ruled out matplotlib as the culprit for now, unless a number of other tools/versions also have problems.

Cheers,
Mike

Eric Firing wrote:

···

Michael Droettboom wrote:

Here's simple_plot.ps generated with the old PS backend.

Crash! Again, with 400% magnification. So now you really are off the hook.

efiring@...340...:~/programs/py/mpl/tests$ evince simple_plot_ps.ps
ERROR: /unknownerror in --%op_show_continue--
Operand stack:

Execution stack:
   %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
   --dict:1126/1686(ro)(G)-- --dict:0/20(G)-- --dict:103/200(L)-- --dict:6/7(L)--
Current allocation mode is local
ESP Ghostscript 815.04: Unrecoverable error, exit code 1

** (evince:7887): WARNING **: Interpreter failed.

Eric

I was able to zoom to 400% with ggv, but not with the kde ps viewer. The same
behavior occurs with a simple postscript file created with latex and dvips. I
think we can safely conclude that it is an issue with the renderer(s), not
mpl and not your recent improvements.

Darren

···

On Tuesday 10 July 2007 07:51:25 am Michael Droettboom wrote:

I was able to duplicate your bug on my Ubuntu Feisty box.

There is a bug against evince filed here:

http://bugzilla.gnome.org/show_bug.cgi?id=303365

It appears that evince always renders an entire page at a time. There
are some reports that are very similar to yours -- but on the other
hand, it doesn't explain why some files work and others don't. It also
doesn't explain why gv is also be breaking for you, unless it does the
same thing.

But I suppose we've ruled out matplotlib as the culprit for now, unless
a number of other tools/versions also have problems.