on Linux I added the following user defined command to compress the texstudio PDF output:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNoOutputFonts -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -dCompressFonts=true -dSubsetFonts=true -dColorConversionStrategy=/LeaveColorUnchanged -sOutputFile=?m.tmp.pdf ?m.pdf | mv ?m.tmp.pdf ?m.pdf
I wonder if it is possible to insert by default on the user interface (also on Window system), maybe with the available compression opitions (i.e. printer, ebook, screen, prepress and default).
Thanks
Anonymous
This is just a post-processing step for the pdf.
On the one hand, I don't believe that many people are needing this. On the other hand, it would be quite cumbersome to make sure that it works or reasonably fails on all platforms we provide. After all, it's depending on an external program which might not be there. Additionally one would have to decide which options to make available. Therefore it's not worth the effort. As you've done, you can still use it in a user-defined command.