[gs-devel] Problem converting a PDF to a TIFF

Chris Liddell chris.liddell at artifex.com
Sat Jan 14 08:20:39 UTC 2012


Firstly, I would suggest trying a newer version - 9.04 has been out
since last August, and 9.05 is due out next month.

It's very hard to even guess at what might be the problem without seeing
one of the files. FWIW, I'm a Ghostscript developer (as in, that's my
"day job"), and we reasonably often get files with confidential
information in them that we undertake to keep private and remove for our
system once we're finished.

The other alternative would be to politely ask the vendor in question if
they could supply you with a "fake" file - one that exhibits the
problem, but contains only fictitious information.

My *guess* would be that the fonts in the file use an out of the
ordinary encoding, and therefore substituting another font with a
different encoding has unexpected results - but I could be completely
wrong......

Chris


On 13/01/12 22:21, tony at exquisiteimages.com wrote:
> I have a process setup to convert PDFs that I receive into TIFFs using
> Ghostscript and it works flawlessly except for documents from one
> vendor. The documents from this vendor return the following errors when
> the conversion is running and the resulting TIFF has various spurious
> characters in place of what should be English characters. Viewing the
> original PDF document in Adobe Acrobat Reader works without any issue.
> 
> I searched on the warnings and found several references to Asian
> language fonts, but there are not Asian fonts in the document. I made a
> CIDFMAP file to map all of the fonts referenced in the file, but I did
> not see any change. Unfortunately, I can not post the source document
> because it has confidential information.
> 
> Thanks for any advice on this.
> 
> -----------------------------------------------------
> GPL Ghostscript 9.01 (2011-02-07)
> Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
> This software comes with NO WA
> RRANTY: see the file PUBLIC for details.
> 
> Processing pages 1 through 4.
> 
> Page 1
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
> Page 2
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
> Page 3
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
> Page 4
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
>    **** Warning: can't process font stream, loading font by the name.
> 
> 
>    **** This file had errors that were repaired or ignored.
> 
>    **** The file was produced by:
>    **** >>>>
> TargetStream StreamEDP for C*****************************************
>  <<<<
> 
>    **** Please notify the author of the software that produced this
> 
>    **** file that it does not conform to Adobe's published PDF
> 
>    **** specification.
> 
> 
> 
> 
> _______________________________________________
> gs-devel mailing list
> gs-devel at ghostscript.com
> http://ghostscript.com/cgi-bin/mailman/listinfo/gs-devel



More information about the gs-devel mailing list