如果字体无法找到,您如何告知ghostscript使用“fallback”字体?Ghostscript merge pdf字体错误:如何定义备用字体
当执行此命令的Ghostscript:
GS -q -dNOPAUSE -dBATCH -sDEVICE = pdfwrite -sOutputFile = /输出.pdf /input_pdf_with_missing_font.pdf
我收到此错误:
错误:/未定义在findresource操作数堆栈中:--dict:9/18(L) - C2_0 1 - 词典:6/6(L) - - 词典:6/6(L) - ArialUnicodeMS - dict:11/12(ro)(G) - --nostringval-- CIDFontObject --dict:8/8(L) - --dict:8/8(L) - Adobe-Identity执行堆栈:% interp_exit .runexec2 --nostringval-- - nostringval-- --nostringval-- 2%stopped_push --nostringval-- - nos tringval-- --nostringval--假1%stopped_push 1862 1 3%oparray_pop 1861 1 3%oparray_pop 1845 1 3%oparray_pop --nostringval-- --nostringval-- 2 1 3 --nostringval--%for_pos_int_continue --nostringval - - nostringval - - nostringval - - nostringval - %array_continue --nostringval - false 1%stopped_push --nostringval - %loop_continue --nostringval - --nostringval - --nostringval-- --nostringval-- - nostringval-- - nostringval--%array_continue --nostringval-- - nostringval-- - nostringval-- - nostringval-- - nostringval--%loop_continue字典栈:--dict :(1)(1)(1)(1)(1)(1)字典:106/127(ro)(G) - - 本案:286/300(ro)(G) - - 本案:22/25(L) - - 本案:4/6 - - 词典:26/40(L) - 当前分配模式为本地最后操作系统错误:2 GPL Ghostscript 8.70:不可恢复的错误,退出代码1
我已经安装了版本8.70 –
CentOS版本6.8 –