mpage vs. gs vs. gv [ & ggv & kghostview ]
Jonathan Ryshpan
jonrysh at pacbell.net
Thu May 11 22:09:49 UTC 2006
mpage generates files that gv won't display, but gs will. For the
simplest example
$ cat /dev/null | mpage > foo.ps
$ gs -sDEVICE=x11 foo.ps # works fine -- emits messages about substituting fonts
$ gv foo.ps # produces error messages and fails
Here are the error messages:
> ERROR: /undefinedresource in --findresource--
> Operand stack:
> uniks Baekmuk-Batang-UniKS-UTF8-H Font Baekmuk-Batang-UniKS-UTF8-H (Baekmuk-Batang-UniKS-UTF8-H) 14 Baekmuk-Batang UniKS-UTF8-H UniKS-UTF8-H Baekmuk-Batang Baekmuk-Batang Baekmuk-Batang --nostringval-- (r) --nostringval-- CMap (r) CMap (r)
> 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-- 2 3 %oparray_pop 3 3 %oparray_pop --nostringval-- --nostringval-- 15 5 %oparray_pop --nostringval-- 18 6 %oparray_pop --nostringval-- --nostringval-- --nostringval--
> Dictionary stack:
> --dict:1120/1686(ro)(G)-- --dict:0/20(G)-- --dict:93/200(L)-- --dict:17/17(ro)(G)-- --dict:20/26(ro)(G)-- --dict:0/10(L)-- --dict:19/26(ro)(G)--
> Current allocation mode is local
> Last OS error: 2
> ESP Ghostscript 815.02: Unrecoverable error, exit code 1
You can see the same problem with an actual file with data in it:
$ date /dev/null | mpage > foo.ps
...
ggv and kghostview also fail, but don't show errors.
Any ideas?
jon
More information about the fedora-list
mailing list