On 2021-10-12 01:27:22 +0900, Norbert Preining wrote: > > > /usr/bin/ps2pdf chartest3.pdf out.pdf > > Honestly, feeding PDF into "ps2pdf" is something new, and I am not > surprised that this does not work.
I don't understand what you mean by "something new". This has been mentioned for many years (either with gs directly, or via the ps2pdf wrapper): https://stackoverflow.com/questions/5296667/pdftk-compression-option https://stackoverflow.com/questions/10450120/optimize-pdf-files-with-ghostscript-or-other https://askubuntu.com/questions/113544/how-can-i-reduce-the-file-size-of-a-scanned-pdf-file https://askubuntu.com/questions/207447/how-to-reduce-the-size-of-a-pdf-file https://askubuntu.com/questions/589862/how-to-compress-more-than-one-at-a-time-pdf-files-from-terminal etc. > The description clearly states > ps2pdf - Convert PostScript to PDF using ghostscript > PDF is **not** PostScript. The description has not been updated. The gs description is clearer: gs - Ghostscript (PostScript and PDF language interpreter and previewer) > Can you explain me what are you trying to do? Compress PDF files, in particular by converting Type 1 fonts to Type 1C fonts and including only glyphs that are used, instead of the full fonts. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)