[MacPorts] #64648: ghostscript @9.55.0_0+x11: Colored tiling Patterns not working

MacPorts noreply at macports.org
Thu Feb 24 08:04:47 UTC 2022


#64648: ghostscript @9.55.0_0+x11:  Colored tiling Patterns not working
--------------------------+-------------------------------------
  Reporter:  arvas512     |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.1
Resolution:               |   Keywords:  Colored tiling Patterns
      Port:  ghostscript  |
--------------------------+-------------------------------------

Comment (by tomio-arisaka):

 I looked at the commit history of portfile, but I was not able to find any
 patches to be applied to x11alpha.
 <https://github.com/macports/macports-
 ports/commits/master/print/ghostscript/Portfile>
 \\
 So I think the issue has been introduced to 9.55.0 by upstream developers.

 e.g. Ghostscript-9.55.0 has another issue as follows:
 \\
 When using the device "pngalpha", I get the same issue as "x11alpha".


 {{{
 $ gs -P- -dSAFER -q -P- -dNOPAUSE -dBATCH -sDEVICE=pngalpha
 -sstdout=%stderr -sOutputFile=./Example_4_21.png -P- -dSAFER
 ./Example_4_21.eps
 Error: /rangecheck in --fill--
 Operand stack:
    120   120   184   120
 Execution stack:
    %interp_exit   .runexec2   --nostringval--   --nostringval--
 --nostringval--   2   %stopped_push   --nostringval--   --nostringval--
 --nostringval--   false   1   %stopped_push   1990   1   3   %oparray_pop
 1989   1   3   %oparray_pop   1988   1   3   %oparray_pop
 --nostringval--   1977   1   3   %oparray_pop   1833   1   3
 %oparray_pop   --nostringval--   %errorexec_pop   .runexec2
 --nostringval--   --nostringval--   --nostringval--   2   %stopped_push
 --nostringval--   rectfill   (NULL)   (gs_pattern1_instance_t)   (pattern
 accumulator)   4   %pattern_paint_finish   --nostringval--
 --nostringval--
 Dictionary stack:
    --dict:765/1123(ro)(G)--   --dict:0/20(G)--   --dict:80/200(L)--
 --dict:9/9(ro)(L)--
 Current allocation mode is local
 Current file position is 839
 GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1
 $
 }}}



 I tried to build the development version of Ghostscript.
 (9.56.0rc1: commit 8e52d5a85978c6f721ad4a3ffdf25bf18bce9d20)
 \\
 Then it works well with x11alpha and pngalpha.
 It seems that the issue has been resolved:)


 {{{
 $ gs ${HOME}/Downloads/Example_4_21.eps
 GPL GhostscriptRELEASE CANDIDATE 1 9.56.0 (2022-02-22)
 Copyright (C) 2021 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.
 Loading NimbusRoman-Regular font from
 /opt/local/share/ghostscript/9.56.0/Resource/Font/NimbusRoman-Regular...
 4359656 2845941 3894296 2584964 2 done.
 >>showpage, press <return> to continue<<

 GS>quit
 $
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64648#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list