A bug of ghostscript_9.15+dfsg-0ubuntu2_amd64.deb

王东举 shuwei1204 at 163.com
Tue Apr 28 02:21:54 UTC 2015

 I have updated the OS of my computer to ubuntu 15.04 amd64 edition recently.

     Then I found that when I use xelatex to complie my tex documents with some eps files which are produced by Adobe Acrobat Pro 9(my eps file come from pdf files), some error will occur like follows:
[27Error: /undefinedresource in resourcestatus
Operand stack:
   false   ct_StyleDicts   --dict:0/4(L)--   Adobe-Japan1   --dict:0/4(L)--   Serif   HeiseiMin-W3-83pv-RKSJ-H   Font   HeiseiMin-W3   CIDFont
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   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:1190/1684(ro)(G)--   --dict:0/20(G)--   --dict:87/200(L)--   --dict:57/75(L)--   --dict:2/10(L)--   --dict:39/70(L)--   --dict:0/4(L)--   --dict:0/4(L)--   --dict:20/27(ro)(G)--   --dict:20/26(ro)(G)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 95167
GPL Ghostscript 9.15: Unrecoverable error, exit code 1

xdvipdfmx:fatal: pdf_ref_obj(): passed invalid object.

Output file removed.
Makefile:6: recipe for target '论文.pdf' failed
make: *** [论文.pdf] 断开的管道

  I tried to use pdf2ps and ps2eps command to re-produce the eps files from my source pdf files. The new eps files can be complied, but the quality is much lower than before.

So I mailed to TeX Live group for this bug, they said it might be led by ghostsrcript. So I download the source code of ghostscript 9.16 and complie, install it.
the problem was sloved. So there must be something wrong in this application package.

 I attach a source pdf, a eps file produced by Acrobat 9 and another produced by pdf2ps and ps2eps command for reference.

The attachment is an example of this bug.  complie the tex file with xelatex.


More information about the Ubuntu-quality mailing list