ghostscript fails on some EPS files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ghostscript (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
texlive-lang (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
On Ubuntu 15.04, running in the cloud, I issue to following command to find the Bounding Box on the attached EPS. When I download the ghostscript binary from ghostscript.com or try the same on my FreeBSD server, it works just fine. Here's the command to reproduce:
$ gs -q -sDEVICE=bbox -dNOPAUSE -dBATCH -dSAFER -dEPSCrop -r300 broken-
The expected output:
%%BoundingBox: 87 81 1515 1510
%%HiResBoundingBox: 87.840941 81.600003 1514.790058 1509.385370
The output on Ubuntu 15.04:
Error: /undefinedresource in resourcestatus
Operand stack:
false ct_StyleDicts --dict:0/4(L)-- Adobe-Japan1 --dict:0/4(L)-- Serif HeiseiMin-
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1967 1 3 %oparray_pop 1967 1 3 %oparray_pop 1966 1 3 %oparray_pop --nostringval-- 1950 1 3 %oparray_pop 1836 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- 1915 10 9 %oparray_pop
Dictionary stack:
--dict:
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.15: Unrecoverable error, exit code 1
I have the same problem with opening eps files that were created with Adobe Illustrator. It seems like the Japanese Font "HeiseiMin-W3" (part of the Adobe-Japan1 font bundle) is missing on the system. To work around this error, I installed texlive-full. Afterwards it works.