我的建议是使用Ghostscript 8.71。然后使用这个命令行:
gswin32c.exe^
-sDEVICE=pdfwrite^
-o thermrad-out.pdf^
-dPDFSETTINGS=/printer^
10.axd
这应该做的PDF转换成一个没有问题了。因为原始.axd文件在嵌入字体时确实存在问题。 (我使用XPDF套件中的pdffonts.exe
进行检查)。之后我让Ghostscript的修理它,问题是在修复PDF走了3页
[....]
............ Page 3 ...............................
name type emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
YCRHYF+HelveticaNeue-LightExt Type 1C yes yes yes 249 0
XCZBKH+HelveticaNeue-Light Type 1C yes yes yes 250 0
Error: Illegal entry in bfchar block in ToUnicode CMap
YCRHYF+HelveticaNeue-LightExt Type 1C yes yes yes 15 0
Error: Illegal entry in bfchar block in ToUnicode CMap
YCRHYF+HelveticaNeue-LightExt Type 1C yes yes yes 19 0
Error: Illegal entry in bfchar block in ToUnicode CMap
YCRHYF+HelveticaNeue-LightExt Type 1C yes yes yes 41 0
Error: Illegal entry in bfchar block in ToUnicode CMap
YCRHYF+HelveticaNeue-LightExt Type 1C yes yes yes 45 0
Error: Illegal entry in bfchar block in ToUnicode CMap
YCRHYF+HelveticaNeue-LightExt Type 1C yes yes yes 49 0
Error: Illegal entry in bfchar block in ToUnicode CMap
YCRHYF+HelveticaNeue-LightExt Type 1C yes yes yes 53 0
Error: Illegal entry in bfchar block in ToUnicode CMap
YCRHYF+HelveticaNeue-LightExt Type 1C yes yes yes 57 0
Error: Illegal entry in bfchar block in ToUnicode CMap
YCRHYF+HelveticaNeue-LightExt Type 1C yes yes yes 61 0
[....]
:你10.axd第3页出现该问题:
for /l %i in (1,1,16) do (
echo. ............ Page %i ...............................^
& pdffonts.exe -f %i -l %i 10.axd^
& echo.)
输出这个
c:\> pdffonts.exe -f 3 -l 3 thermrad.pdf
name type emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
CZBBTM+HelveticaNeue-LightExt Type 1C yes yes no 13 0
MXETZY+HelveticaNeue-Light Type 1C yes yes no 40 0
哪个是您用于Ghostscript的命令行?而这个.axd文件到底是什么? - 顺便说一句,对我来说thingie无法在Reader 9.3.3中打开 - 它说*“文件无法通过网络加载......也许会损坏?”* – 2010-08-16 19:58:11
另外,您想用Ghostscript实现什么功能。你有一个PDF - 那么你想要ghostscript将其转换为?!? – 2010-08-16 20:10:50