Menu

#1142 Compress PDF output

None
wont-fix
nobody
None
1
2016-10-15
2016-10-14
Anonymous
No

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

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2016-10-15

    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.

     
  • Tim Hoffmann

    Tim Hoffmann - 2016-10-15
    • status: open --> wont-fix
    • Group: -->
     

Anonymous
Anonymous

Add attachments
Cancel





Auth0 Logo