我的建議是使用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