bug? /Font resourceforall generates undefinedresource error
[email protected] (Perry Hutchison)
| Newsgroups | gmane.comp.printing.ghostscript.devel |
|---|---|
| Message-ID | <56162765.eOt5rPXDKK3PzzQu%[email protected]> |
When attempting to enumerate available fonts using the method
recommended in the PostScript Language Reference Manual, I am
getting an undefinedresource error.
I think this is different than the situation in known issues where
font names reported by resourceforall may provoke errors when passed
to findfont, because all I am doing (trying to do) is print the
names to stdout using ==. Should I be doing something differently,
or is this a bug?
$ echo '(*)' '{ == }' 128 string /Font resourceforall | gs -sDEVICE=pcl3 -sSubdevice=unspecold '-sOutputFile=dummy' -dNOPAUSE -dBATCH -dSAFER - > Fonts-pcl3-unspecold
GPL Ghostscript 8.71: Unrecoverable error, exit code 1
The stdout file contains:
GPL Ghostscript 8.71 (2010-02-10)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /undefinedresource in /HYGoThic-Medium
Operand stack:
(*) --nostringval-- (HYGoThic-Medium-UniJIS2004-UTF16-HB5HCHHCH\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000) --dict:242/320(L)-- --dict:451/480(L)-- HYGoThic-Medium-UniJIS2004-UTF16-H HYGoThic-Medium UniJIS2004-UTF16-H HYGoThic-Medium
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop 1877 1 3 %oparray_pop 1861 1 3 %oparray_pop 1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1831 4 3 %oparray_pop --nostringval-- --nostringval-- --dict:41/80(L)-- --nostringval-- 113 %dict_continue --nostringval-- --dict:242/320(L)-- --nostringval-- 510 %dict_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1152/1684(ro)(G)-- --dict:0/20(G)-- --dict:76/200(L)-- --dict:17/17(ro)(G)-- --dict:20/26(ro)(G)--
Current allocation mode is local
Last OS error: 2