Bug 688264 - Unable to convert a specific PDF into TIFF
Summary: Unable to convert a specific PDF into TIFF
Status: RESOLVED DUPLICATE of bug 687747
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: General (show other bugs)
Version: 8.51
Hardware: PC Windows 2000
: P3 normal
Assignee: Stefan Kemper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-15 05:20 UTC by Staffan Ornstam
Modified: 2007-12-13 12:55 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
The PDF I can't convert. (89.94 KB, application/pdf)
2005-08-15 05:22 UTC, Staffan Ornstam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Staffan Ornstam 2005-08-15 05:20:43 UTC
I use Ghostscript to convert PDF files into TIFF for fax.
Mostly it works just fine, but now I have got a PDF file it can't convert.
This PDF file works fine to open in Adobe Acrobat.
I get the same error in both version 8.51, 8.50 and 8.00.

I'm using the following arguments:

gswin32c -dNOPAUSE -dBATCH -r204x98 -g1728x1136 -sPAPERSIZE=a4 -dPDFFitPage -
dFIXEDMEDIA -dNORANGEPAGESIZE -sDEVICE=tiffg4 -
sOutputFile="c:\test\pdf\200507152106_001.tif" "c:\test\pdf\200507152106_001.pdf
"

And gets the following output from version 8.51:

AFPL Ghostscript 8.51 (2005-04-18)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 4.
Page 1
Substituting CID font resource/Adobe-Identity for /SymbolMT.
Error: /undefinedresource in --findresource--
Operand stack:
   --dict:7/7(L)--   G1   1   --dict:5/5(L)--   --dict:5/5(L)--   SymbolMT-Ident
ity-H   --dict:11/12(ro)(G)--   --nostringval--   --dict:7/7(L)--   --dict:7/7(L
)--   Adobe-Identity   CIDFont   Adobe-Identity
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval-
-   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   fa
lse   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3
%oparray_pop   --nostringval--   --nostringval--   2   1   4   --nostringval--
 %for_pos_int_continue   --nostringval--   --nostringval--   --nostringval--   -
-nostringval--   %array_continue   --nostringval--   false   1   %stopped_push
 --nostringval--   %loop_continue   --nostringval--   --nostringval--   --nostri
ngval--   --nostringval--   --nostringval--   %array_continue   --nostringval--
  --nostringval--   --nostringval--   --nostringval--   %loop_continue   --nostr
ingval--   12   10   %oparray_pop   --nostringval--   --nostringval--   --nostri
ngval--
Dictionary stack:
   --dict:1128/1686(ro)(G)--   --dict:0/20(G)--   --dict:75/200(L)--   --dict:75
/200(L)--   --dict:105/127(ro)(G)--   --dict:251/347(ro)(G)--   --dict:21/24(L)-
-   --dict:4/6(L)--   --dict:21/32(L)--   --dict:11/13(L)--   --dict:20/26(ro)(G
)--
Current allocation mode is local
Last OS error: No such file or directory
AFPL Ghostscript 8.51: Unrecoverable error, exit code 1
Comment 1 Staffan Ornstam 2005-08-15 05:22:48 UTC
Created attachment 1616 [details]
The PDF I can't convert.
Comment 2 Alex Cherepanov 2005-08-15 06:31:20 UTC
The PDF file is incorrect. The PDF specification requires CID font files to be
embedded but this file doesn't embed them. 

Ghostscript provides several ways to substitute missing
CIDFont resources. See "CID font substitution" section in doc/Use.htm in your
Ghostscript distribution.


*** This bug has been marked as a duplicate of 687747 ***