Closed MihailCosmin closed 4 years ago
The compression failed under windows: UPDATE: Got the same error under Linux too. Maybe there's a problem with my PDF?
info: writing Type1CConverter (1626038 font bytes) to: C:\Users\Munteanu\AppData\Local\Temp\psotmp.8816.conv.tmp.ps info: using Ghostscript C:\Users\Munteanu\Downloads\pdfsizeopt_win32exec-v6\pdfsizeopt_win32exec\pdfsizeopt_gswin\gswin32c.exe: GPL Ghostscript 9.05 (2012-02-08) info: executing Type1CConverter with Ghostscript: C:\Users\Munteanu\Downloads\pdfsizeopt_win32exec-v6\pdfsizeopt_win32exec\pdfsizeopt_gswin\gswin32c.exe -q -P- -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dPDFSETTINGS=/printer -dColorConversionStrategy=/LeaveColorUnchanged -sOutputFile=C:\Users\Munteanu\AppData\Local\Temp\psotmp.8816.conv.tmp.pdf -f C:\Users\Munteanu\AppData\Local\Temp\psotmp.8816.conv.tmp.ps Type1CConverter: using interpreter GPL Ghostscript 905 20120208 Type1CConverter: converting font /HelveticaLT-Bold to /Obj0000001069 Type1CConverter: converting font /HelveticaLT to /Obj0000001074 Type1CConverter: converting font /TimesLT-Roman to /Obj0000001088 Error: /syntaxerror in (binary token, type=128) Operand stack: --nostringval-- --dict:96/96(L)-- --nostringval-- --nostringval-- Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1926 1 3 %oparray_pop 1925 1 3 %oparray_pop 1909 1 3 %oparray_pop 1803 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- %loop_continue --nostringval-- 4 --nostringval-- --nostringval-- false 1 %stopped_push --nostringval-- false 1 %stopped_push Dictionary stack: --dict:1170/1684(ro)(G)-- --dict:0/20(G)-- --dict:97/200(L)-- --dict:97/200(L)-- Current allocation mode is local Last OS error: No such file or directory Current file position is 58111 GPL Ghostscript 9.05: Unrecoverable error, exit code 1 fatal: Type1CConverter failed, status=0x1
Please upload your input PDF file, and please copy-paste the full pdfsizeopt console output.
In the meantime you can use pdfsizeopt --do-optimize-fonts=false to bypass this optimization step.
pdfsizeopt --do-optimize-fonts=false
The compression failed under windows: UPDATE: Got the same error under Linux too. Maybe there's a problem with my PDF?