Use -b together with -dgs-never-embed-fonts
Signed-off-by: Knut Petersen knut_petersen@t-online.de
http://codereview.appspot.com/325630043
There was an intense discussion about dramatically increased pdf file sizes caused by a patch in ghostscript.
To make it short: I think this patch fixes the problem. Please test.
You will see no effect without a working extractpdfmark package.
one example: notation.pdf is back to 6.875.674 bytes.
Diff:
Passes make, make check and a full make doc although there are comments on Rietveld from Hosoda-san.
kill --bigpdfs, introduce --use-encodings, remove code not needed by ghostscript 9.20+
http://codereview.appspot.com/325630043
Passes make, make check and a full make doc
fix --eps, change bug report msg, fix documentation
http://codereview.appspot.com/325630043
Passes make, make check and a full make doc.
Patch on countdown for October 2nd
This looks like it can be pushed - but those that know better can either set this back to review of countdown as appropriate.
Yes, it might be pushed.
p.s. for those interested; without Hosoda-san's extractpdfmark tool the NR (our largest PDF) is ~33MB in size. With it, as Knut notes, it shrinks down to an impressive ~6MB in size.
Ok, so this is for 2.21.0. What would be a good plan for 2.20 since the Ghostscript problems partly reliable for triggering this issue are also immanent for 2.20?
I vote to include this patch in lilypond 2.20.
Changing the code for print_glyph, trying to force Identity-H, supporting other notation fonts with the old --bigpdf or the new --pspdfopt=TeX-GS options and some other optimizations is definitely something for 2.21.
"this patch", as I understand it being the Rietveld issue in its final state, removed --bigpdf completely. At least that's what patch set 2 and patch set 3 claim in their message. It has a scope that was quite exceeding the scope that was agreed on to be sensible for 2.20 on the developer lists. This here is issue 5201, and the commit message for this issue states:
commit 398c2e17d45bf4d18723e14d52531e4e7d006dea
Author: Knut Petersen knut_petersen@t-online.de
Date: Tue Oct 3 15:05:56 2017 +0100
listing several changes that you say should not be a part of 2.20.
So I don't really see what you mean here. What is your actual proposal/vision for 2.20?
Yes.
Yes. It's completely useless with gs 9.22.
After some discussions and my "I dend to agree" DAK wrote:
My answer was to implement the code in patchset #3. After some minor modifications patchset 4 was accepted for master. The final patchset gives the possibility to use the same options for 2.20 and 2.21, I thought that was obvious.
I really thought my "I vote to include this patch in lilypond 2.20" was unequivocal. Cherry-pick 398c2e17d4 for lilypond 2.20.