Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2014 03:40:22 -0700 (PDT)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-ports@freebsd.org
Subject:   ghostscript9-9.06_8 seems broken
Message-ID:  <1413283222583-5956678.post@n5.nabble.com>

next in thread | raw e-mail | index | archive | help
I think there's something wrong with ghostscript9-9.06_8. The problems I'm
seeing:

#1: pdf2ps gives errors (I have tried many files). As you can see, this pdf
is part of FreeBSD's handbook:
$ pdf2ps -dLanguageLevel=2
frebsd-manuals/official_handbook/porters-handbook/book.pdf out.ps
   **** Error reading a content stream. The page may be incomplete.
....REPEATS FOR EACH PAGE....
   **** Error reading a content stream. The page may be incomplete.

   **** This file had errors that were repaired or ignored.
   **** The file was produced by:
   **** >>>> pdfeTeX-1.21a <<<<
   **** Please notify the author of the software that produced this
   **** file that it does not conform to Adobe's published PDF
   **** specification.

ERR MESSAGES FROM OTHER FILES:
   **** Error reading a content stream. The page may be incomplete.
   **** Warning:  File has an empty CropBox. Using the current page size
instead.

   **** The file was produced by:
   **** >>>> iText 5.0.4 (c) 1T3XT BVBA <<<<

#2: Using GS directly (tried several files)
$ gs -sDEVICE=pxlmono -o out.ps wfp.pdf
GPL Ghostscript 9.06 (2012-08-08)
Copyright (C) 2012 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 10.
Page 1
Substituting font Times-Roman for Times New Roman.
Loading NimbusRomNo9L-Regu font from
/usr/local/share/ghostscript/fonts/n021003l.pfb... 3685368 2335526 1694528
404398 3 done.
Page 2
Substituting font Times-Roman for Times New Roman.
Can't find (or can't open) font file
/usr/local/share/ghostscript/9.06/Resource/Font/ArialMT.
Can't find (or can't open) font file ArialMT.
Can't find (or can't open) font file
/usr/local/share/ghostscript/9.06/Resource/Font/ArialMT.
Can't find (or can't open) font file ArialMT.
Querying operating system for font files...
Loading ArialMT font from /usr/local/lib/X11/fonts/webfonts/arial.ttf...
3926124 2587204 3446604 1503804 3 done.
...etc...
Page 5
Substituting font Times-Roman for Times New Roman.
   **** Error reading a content stream. The page may be incomplete.
Page 6
Substituting font Times-Roman for Times New Roman.
   **** Error reading a content stream. The page may be incomplete.
Page 7
Substituting font Times-Roman for Times New Roman.
   **** Error reading a content stream. The page may be incomplete.
Page 8
Substituting font Times-Roman for Times New Roman.
   **** Error reading a content stream. The page may be incomplete.
Page 9
Substituting font Times-Roman for Times New Roman.
   **** Error reading a content stream. The page may be incomplete.
Page 10
Substituting font Times-Roman for Times New Roman.

 **** Error reading a content stream. The page may be incomplete.
 **** This file had errors that were repaired or ignored.
 **** The file was produced by:
 **** >>>> Microsoft[] Word 2010 <<<<
 **** Please notify the author of the software that produced this
 **** file that it does not conform to Adobe's published PDF
 **** specification.

#3: Printing a ps file directly via lpr to a post-script-II capable printer
fails and only prints error message on paper:
$ lpr some.ps >
"%%[ Error handled by opdfread.ps : limitcheck; OffendingCommand:
--nostringval--"
Probaby continues, but reaches right margin of page.

Regards.



-----
FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS
--
View this message in context: http://freebsd.1045724.n5.nabble.com/ghostscript9-9-06-8-seems-broken-tp5956678.html
Sent from the freebsd-ports mailing list archive at Nabble.com.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1413283222583-5956678.post>