Bug#338450: gs-esp: gs-esp+gs-cjk-resource failed when it had -dSAFER or -dPARANOIDSAFER
merge 338450 337936 reassign 338450 gs-common thanks At Thu, 10 Nov 2005 19:48:48 +0900 (JST), Kenshi Muto wrote: Package: gs-esp Version: 8.15.1.dfsg.1-1 Severity: important I noticed GhostScript viewer 'gv' or some PPD for CUPS always fail by missing Japanese fonts (gs-cjk-resource covers them) since gs-esp 8. And I found this problem happened only if they include -dSAFER or -dPARANOIDSAFER option. After observation, I found the reason. When -dSAFER or -dPARANOIDSAFER is defined, all of gs 8 load, includes font files, must be in GS path. /usr/share/fonts is not in GS path... So most easy workaround is to let /usr/share/fonts in GS path. But I believe it's just workaround. IMHO best way is changing defoma script of gs-common to write symlinked font path (/var/lib/defoma/gs.d/dirs/fonts/*) instead of real font path (/usr/share/fonts/*) to /var/lib/defoma/gs.d/dirs/fonts/cidfmap. Thanks, -- Kenshi Muto [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#338450: gs-esp: gs-esp+gs-cjk-resource failed when it had -dSAFER or -dPARANOIDSAFER
Package: gs-esp Version: 8.15.1.dfsg.1-1 Severity: important Please reassign this bug to gs-cjk-resource or other appropriate package. I noticed GhostScript viewer 'gv' or some PPD for CUPS always fail by missing Japanese fonts (gs-cjk-resource covers them) since gs-esp 8. And I found this problem happened only if they include -dSAFER or -dPARANOIDSAFER option. - $ gs -sDEVICE=x11 -dTextAlphaBits=4 -dGraphicsAlphaBits=2 -dMaxBitmap=1000 -dPARANOIDSAFER -dNOPLATFONTS t.ps ESP Ghostscript 815.01 (2005-09-22) Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /undefinedresource in --findresource-- Operand stack: Fc 256 --nostringval-- --nostringval-- 0 165.682 GothicBBB-Medium-H Font GothicBBB-Medium-H (GothicBBB-Medium-H) 16 GothicBBB-Medium H H GothicBBB-Medium GothicBBB-Medium GothicBBB-Medium --nostringval-- (r) --nostringval-- CMap (r) CMap (r) Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 7 4 %oparray_pop 8 4 %oparray_pop --nostringval-- --nostringval-- 20 6 %oparray_pop --nostringval-- 23 7 %oparray_pop --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1123/1686(ro)(G)-- --dict:0/20(G)-- --dict:81/200(L)-- --dict:102/300(L)-- --dict:17/17(ro)(G)-- --dict:20/26(ro)(G)-- --dict:0/10(L)-- --dict:19/26(ro)(G)-- Current allocation mode is local Last OS error: 2 Current file position is 17901 ESP Ghostscript 815.01: Unrecoverable error, exit code 1 - Thanks, -- Kenshi Muto [EMAIL PROTECTED] -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.10 Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) Versions of packages gs-esp depends on: ii gs-common 0.3.9 Common files for different Ghostsc ii libc6 2.3.5-6GNU C Library: Shared libraries an ii libcupsimage2 1.1.23-12 Common UNIX Printing System(tm) - ii libcupsys21.1.23-12 Common UNIX Printing System(tm) - ii libice6 6.8.2.dfsg.1-8 Inter-Client Exchange library ii libjpeg62 6b-10 The Independent JPEG Group's JPEG ii libpaper1 1.1.14-3 Library for handling paper charact ii libpng12-01.2.8rel-5 PNG library - runtime ii libsm66.8.2.dfsg.1-8 X Window System Session Management ii libstdc++64.0.2-3The GNU Standard C++ Library v3 ii libtiff4 3.7.4-1Tag Image File Format (TIFF) libra ii libx11-6 6.8.2.dfsg.1-8 X Window System protocol client li ii libxext6 6.8.2.dfsg.1-8 X Window System miscellaneous exte ii libxt66.8.2.dfsg.1-8 X Toolkit Intrinsics ii xlibs 6.8.2.dfsg.1-8 X Window System client libraries m ii zlib1g1:1.2.3-4 compression library - runtime Versions of packages gs-esp recommends: ii gsfonts 8.14+v8.11+urw-0.2 Fonts for the Ghostscript interpre ii psfontmgr 0.11.8-0.1 PostScript font manager -- part of -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]