Thanks Werner, I'm sorry for the attachment. I won't do it again. So thank you for the tip. I disabled the fonts in the /devps/download file and it went from 12MB to 92K so that is already a big step forward. Is there a better way to disable the embedding of fonts ? Because I still see a lot of this : " grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72 def/PL 841.89 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron /Zcaron/scaron/zcaron/Ydieresis/trademark/quotesingle/Euro/.notdef /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef /.notdef/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent /ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen " in the Postscript file. Can I somehow remove them. I don't need all those special characters.
Thank you all Kind regards Wim Stockman Op wo 20 jan. 2021 om 22:11 schreef Werner LEMBERG <w...@gnu.org>: > > Wim, > > > > I'm generating my postscript file with my own macros for writing > > company letters. But the generated filesize is 12MB for the PS > > filesize. > > please, PLEASE, don't send such huuuge e-mails to a mailing list! > Instead, upload it to a place temporarily where interested people can > download it for further inspection. > > > for some reason there is a huge part binary how can I avoid this ? > > You can't. groff doesn't support font subsetting (yet). To get small > files, process groff's output with ghostscript's `ps2ps` tool or > something similar. > > > I installed the GNU freefonts maybe it has something to do with it? > > Yes, all your fonts are obviously converted to PostScript resources and > embedded into the output file. > > IIRC it's actually possible to make groff not embed the fonts. > However, this means that you *must* preprocess the output file with > ghostscript to get something portable. > > > Werner >