Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Nov 2022 19:24:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267625] print/ghostscript9-agpl-base: custom patches break ps2pdf conversion
Message-ID:  <bug-267625-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267625

            Bug ID: 267625
           Summary: print/ghostscript9-agpl-base: custom patches break
                    ps2pdf conversion
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: hrs@FreeBSD.org
          Reporter: michael.osipov@siemens.com
          Assignee: hrs@FreeBSD.org
             Flags: maintainer-feedback?(hrs@FreeBSD.org)

When I try to convert an EPS graphics created with Adobe Illustrator which =
is
fairly simple, it references CJK fonts, none of them are used (can't change
that), just plain ASCII glyphs. The process fails which is actually invoked
from xelatex (TeX Live 2022):
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
$ freebsd-version
12.3-RELEASE-p8
$ ps2pdf Schichtdicke.eps
Error: /undefinedresource in resourcestatus
Operand stack:
   false   ct_StyleDicts   --dict:0/4(L)--   Adobe-Japan1   --dict:0/4(L)--=
=20=20
Serif   HeiseiMin-W3-83pv-RKSJ-H   Font   HeiseiMin-W3   CIDFont
Execution stack:
   %interp_exit   .runexec2   --nostringval--   resourcestatus=20=20
--nostringval--   2   %stopped_push   --nostringval--   resourcestatus=20=20
resourcestatus   false   1   %stopped_push   1990   1   3   %oparray_pop   =
1990
  1   3   %oparray_pop   1989   1   3   %oparray_pop   1988   1   3=20=20
%oparray_pop   resourcestatus   1977   1   3   %oparray_pop   1833   1   3=
=20=20
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval=
--=20=20
resourcestatus   --nostringval--   2   %stopped_push   --nostringval--=20=20
resourcestatus   resourcestatus   1919   10   9   %oparray_pop
Dictionary stack:
   --dict:767/1123(ro)(G)--   --dict:0/20(G)--   --dict:91/200(L)--=20=20
--dict:57/75(L)--   --dict:2/10(L)--   --dict:39/70(L)--   --dict:0/4(L)--=
=20=20
--dict:0/4(L)--   --dict:20/27(ro)(G)--   --dict:20/26(ro)(G)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.56.1: Unrecoverable error, exit code 1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Doing the same on a vanilla GS successfully converts this file. Tracing dow=
n I
have identified that patches patch-Resource_Init_cidfmap and
patch-Resource_Init_FAPIcidfmap break the configuration. As soon as they are
removed conversion works. Those mappings refer to paid fonts which aren't
available on vanilla systems/setups. I do also not intend to install any Ad=
obe
fonts on the target machine.

Please remove or reconsider these files because patches must not break a
standard setup.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267625-7788>