findresource 中的 Ghostscript /undefinedresource
Ghostscript /undefinedresource in findresource
我在使用 ghostscript 合并 pdf 的过程中遇到了这个问题。
错误:findresource 中的 /undefinedresource
操作数栈:
--dict:5/14(L)-- F0 22 --dict:6/6(L)-- --dict:6/6(L)-- MKQZSY+PalatinoLinotype 2437 CM30 CIDSystemInfo - -dict:12/13(ro)(L)-- CMap --dict:12/13(ro)(L)--
执行堆栈:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval--假 1 %stopped_push 1846 1 3 %oparray_pop 1845 1 3 %oparray_pop 1829 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 2 -- nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push -- nostringval-- %loop_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- 1797 11 13 %oparray_pop findresource %errorexec_pop --nostringval-- --nostringval--
字典堆栈:
--dict:1150/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)-- --dict:75/ 200(L)-- --dict:106/127(ro)(G)-- --dict:285/300(ro)(G)-- --dict:22/25(L)-- -- dict:4/6(L)-- --dict:21/40(L)-- --dict:1/1(ro)(G)-- --dict:1/1(ro)(G) -- --dict:6/15(L)-- --dict:38/38(ro)(G)-- --dict:16/25(ro)(G)--
当前分配模式为本地
最后一个 OS 错误:2
GPL Ghostscript 8.70:不可恢复的错误,退出代码 1
使用的命令是:
gs \
-sDEVICE=pdfwrite \
-dPDFSETTINGS=/预压\
-o /sefas/temp/jercol1/bug_ghostScript/out.pdf \
-q ./in.pdf
PalatinoLinoType 似乎嵌入在输入的 pdf 中:
https://i.stack.imgur.com/Le0mq.png
很遗憾,由于一些机密合同,我无法共享 pdf。
我已尝试使用自定义 cidmap 文件解决此问题,但没有成功。
我想了解这里问题的根源到底是什么,因为字体似乎嵌入在 pdf 中。
此致
如果您无法共享文件,那么任何人都无能为力。我唯一能想到的是,您可以尝试使用不到 9 年的 Ghostscript 版本!
当前版本是9.25。
我在使用 ghostscript 合并 pdf 的过程中遇到了这个问题。
错误:findresource 中的 /undefinedresource
操作数栈:
--dict:5/14(L)-- F0 22 --dict:6/6(L)-- --dict:6/6(L)-- MKQZSY+PalatinoLinotype 2437 CM30 CIDSystemInfo - -dict:12/13(ro)(L)-- CMap --dict:12/13(ro)(L)--
执行堆栈:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval--假 1 %stopped_push 1846 1 3 %oparray_pop 1845 1 3 %oparray_pop 1829 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 2 -- nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push -- nostringval-- %loop_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- 1797 11 13 %oparray_pop findresource %errorexec_pop --nostringval-- --nostringval--
字典堆栈:
--dict:1150/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)-- --dict:75/ 200(L)-- --dict:106/127(ro)(G)-- --dict:285/300(ro)(G)-- --dict:22/25(L)-- -- dict:4/6(L)-- --dict:21/40(L)-- --dict:1/1(ro)(G)-- --dict:1/1(ro)(G) -- --dict:6/15(L)-- --dict:38/38(ro)(G)-- --dict:16/25(ro)(G)--
当前分配模式为本地
最后一个 OS 错误:2
GPL Ghostscript 8.70:不可恢复的错误,退出代码 1
使用的命令是:
gs \
-sDEVICE=pdfwrite \
-dPDFSETTINGS=/预压\
-o /sefas/temp/jercol1/bug_ghostScript/out.pdf \
-q ./in.pdf
PalatinoLinoType 似乎嵌入在输入的 pdf 中: https://i.stack.imgur.com/Le0mq.png
很遗憾,由于一些机密合同,我无法共享 pdf。
我已尝试使用自定义 cidmap 文件解决此问题,但没有成功。
我想了解这里问题的根源到底是什么,因为字体似乎嵌入在 pdf 中。
此致
如果您无法共享文件,那么任何人都无能为力。我唯一能想到的是,您可以尝试使用不到 9 年的 Ghostscript 版本!
当前版本是9.25。