convert -density 150 input.pdf -rotate "$([ $((RANDOM % 2)) -eq 1 ] && echo -)0.$(($RANDOM % 4 + 5))" -attenuate 0.4 +noise Multiplicative -attenuate 0.03 +noise Multiplicative -sharpen 0x1.0 -colorspace Gray output.pdf
embeds all fonts (even the "Base 14" ones), fully (no subsetting):
gswin64c.exe -dBATCH -dNOPAUSE -sOutputFile=c:/path/to/my/output.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -dCompressFonts=false -dSubsetFonts=false -dEmbedAllFonts=true -c ".setpdfwrite <</NeverEmbed [ ]>> setdistillerparams" -f c:/path/to/my/postscript.ps
don't embed any fonts:
gswin64c.exe -dBATCH -dNOPAUSE -sOutputFile=c:/path/to/my/output.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/default -dEmbedAllFonts=false -c ".setpdfwrite <</AlwaysEmbed [ ]>> setdistillerparams" -f c:/path/to/my/postscript.ps
"...make sure that your PDF compatibility is set to Acrobat 4 (PDF 1.3). If you use any other choice, your transparencies will go to PDF as live transparency and transparency flattener is not used (nor presets of it). And whole feature is deactivated in PDF Export window."