[Bug 267625] print/ghostscript9-agpl-base: custom patches break ps2pdf conversion
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Nov 2022 19:24:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267625 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): =============== $ 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)-- Serif HeiseiMin-W3-83pv-RKSJ-H Font HeiseiMin-W3 CIDFont Execution stack: %interp_exit .runexec2 --nostringval-- resourcestatus --nostringval-- 2 %stopped_push --nostringval-- resourcestatus resourcestatus false 1 %stopped_push 1990 1 3 %oparray_pop 1990 1 3 %oparray_pop 1989 1 3 %oparray_pop 1988 1 3 %oparray_pop resourcestatus 1977 1 3 %oparray_pop 1833 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- resourcestatus --nostringval-- 2 %stopped_push --nostringval-- resourcestatus resourcestatus 1919 10 9 %oparray_pop Dictionary stack: --dict:767/1123(ro)(G)-- --dict:0/20(G)-- --dict:91/200(L)-- --dict:57/75(L)-- --dict:2/10(L)-- --dict:39/70(L)-- --dict:0/4(L)-- --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 =============== Doing the same on a vanilla GS successfully converts this file. Tracing down 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 Adobe fonts on the target machine. Please remove or reconsider these files because patches must not break a standard setup. -- You are receiving this mail because: You are the assignee for the bug.