Bug 251941 - print/ghostscript9-base reports errors while interpreting PDF, stock GS has no issues.
Summary: print/ghostscript9-base reports errors while interpreting PDF, stock GS has n...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Document Engineering Group (Nobody)
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2020-12-18 15:12 UTC by bugreport
Modified: 2020-12-18 15:29 UTC (History)
1 user (show)

See Also:
linimon: maintainer-feedback? (doceng)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugreport 2020-12-18 15:12:34 UTC
FreeBSD verion:

12.2-RELEASE FreeBSD 12.2-RELEASE  amd64

after update GS started having issues while interpreting following pdf file:

https://media.lidl-flyer.com/306a7f70-33ea-11eb-9bd1-005056ae4067/Kaufland-03-12-2020-24-12-2020-01.pdf

---------

$ gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=png16m -dGraphicsAlphaBits=4 \ -sOutputFile=tiger.png ~/gs2/bin/Kaufland-03-12-2020-24-12-2020-01.pdf

GPL Ghostscript 9.52 (2020-03-19)

Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.

This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:

see the file COPYING for details.

Processing pages 1 through 8.

Page 1

   **** Error reading a content stream. The page may be incomplete.

               Output may be incorrect.   **** Error: File has unbalanced q/Q operators (too many Q's)

               Output may be incorrect.

   **** Error: File did not complete the page properly and may be damaged.

               Output may be incorrect.

Page 2

   **** Error reading a content stream. The page may be incomplete.

               Output may be incorrect.

   **** Error: File did not complete the page properly and may be damaged.

               Output may be incorrect.

Page 3

   **** Error reading a content stream. The page may be incomplete.

               Output may be incorrect.

   **** Error: File did not complete the page properly and may be damaged.

               Output may be incorrect.

Page 4

   **** Error reading a content stream. The page may be incomplete.

               Output may be incorrect.

   **** Error: File did not complete the page properly and may be damaged.

               Output may be incorrect.

Page 5

   **** Error reading a content stream. The page may be incomplete.

               Output may be incorrect.

   **** Error: File did not complete the page properly and may be damaged.

               Output may be incorrect.

Page 6

   **** Error reading a content stream. The page may be incomplete.

               Output may be incorrect.

   **** Error: File did not complete the page properly and may be damaged.

               Output may be incorrect.

Page 7

   **** Error reading a content stream. The page may be incomplete.

               Output may be incorrect.

   **** Error: File did not complete the page properly and may be damaged.

               Output may be incorrect.

Page 8

$

---------

When GS compiled from stock source repository is used

---------

 ./gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=png16m -dGraphicsAlphaBits=4 \ -sOutputFile=tiger.png Kaufland-03-12-2020-24-12-2020-01.pdf

GPL Ghostscript 9.52 (2020-03-19)

Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.

This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:

see the file COPYING for details.

Processing pages 1 through 8.

Page 1

Page 2

Page 3

Page 4

Page 5

Page 6

Page 7

Page 8

$

---------

So it seems to work OK
Comment 1 bugreport 2020-12-18 15:13:48 UTC
*After system upgrade from older FreeBSD version.