【发布时间】:2016-11-23 00:18:35
【问题描述】:
如果找不到字体,你如何告诉 ghostscript 使用“后备”字体?
执行此 Ghostscript 命令时:
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=/output.pdf /input_pdf_with_missing_font.pdf
我收到此错误:
错误:/undefined in findresource 操作数堆栈:--dict:9/18(L)-- C2_0 1 --dict:6/6(L)-- --dict: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-- --nostringval-- --nostringval-- false 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:1149/1684(ro)(G)-- --dict:1/20 (G)-- --dict:75/200(L)-- --dict:75/200(L)-- --dict: 106/127(ro)(G)-- --dict:286/300(ro)(G)-- --dict:22/25(L)-- --dict:4/6(L)-- --dict:26/40(L)-- 当前分配模式是本地的 Last OS error: 2 GPL Ghostscript 8.70: Unrecoverable error, exit code 1
【问题讨论】:
-
我已经安装了8.70版
-
CentOS 6.8版
标签: pdf fonts ghostscript