Re: Add regtest for issue 5181 (issue 327470043 by d...@gnu.org)

2017-09-25 Thread thomasmorley65
On 2017/09/25 21:53:06, dak wrote: On 2017/09/25 21:28:50, thomasmorley651 wrote: > Very nice, i.e LGTM > > Not sure whether this should be reflected by a reg-test, but currently there is > no case in it triggering the warning like: > > warns = { > \override NoteHead.color = #red > c'1 d'

Re: Add regtest for issue 5181 (issue 327470043 by d...@gnu.org)

2017-09-25 Thread dak
Reviewers: carl.d.sorensen_gmail.com, thomasmorley651, Message: On 2017/09/25 21:28:50, thomasmorley651 wrote: Very nice, i.e LGTM Not sure whether this should be reflected by a reg-test, but currently there is no case in it triggering the warning like: warns = { \override

Re: Use -b together with -dgs-never-embed-fonts (issue 325630043 by knup...@gmail.com)

2017-09-25 Thread knupero
On 2017/09/25 17:33:47, dak wrote: Why are we still navigating the bleeding edge? LilyPond is more than 20 years old. I remember a company that failed to get flash right. Ghostscript still fails on GoToR without the help of extractpdfmarks ;-) On 2017/09/25 16:38:16, knupero wrote: > >

Re: Add regtest for issue 5181 (issue 327470043 by d...@gnu.org)

2017-09-25 Thread thomasmorley65
Very nice, i.e LGTM Not sure whether this should be reflected by a reg-test, but currently there is no case in it triggering the warning like: warns = { \override NoteHead.color = #red c'1 d' \revert NoteHead.color } { \warns -1 e' } And there are cases which will probably never work,

Re: Use -b together with -dgs-never-embed-fonts (issue 325630043 by knup...@gmail.com)

2017-09-25 Thread knupero
https://codereview.appspot.com/325630043/ ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Use -b together with -dgs-never-embed-fonts (issue 325630043 by knup...@gmail.com)

2017-09-25 Thread dak
On 2017/09/25 12:13:34, knupero wrote: kill --bigpdfs, introduce --use-encodings, remove code not needed by ghostscript 9.20+ On my system (Ubuntu Aarkvard) I have Ghostscript 9.21 which is fine. Usually we try to support the last LTS versions of Ubuntu, possibly RedHat (and Debian unstable

Re: Use -b together with -dgs-never-embed-fonts (issue 325630043 by knup...@gmail.com)

2017-09-25 Thread knupero
A bit more far-reaching. As newer versions of gs - don't need the helpemmentaler functions and - don't need the real inclusion of all font data and - don't need some other details and - don't work properly with our old code we might well decide to kill --bigpdfs. Instead of --bigpdfs

Re: Use -b together with -dgs-never-embed-fonts (issue 325630043 by knup...@gmail.com)

2017-09-25 Thread dak
On 2017/09/25 12:54:24, knupero wrote: A bit more far-reaching. As newer versions of gs - don't need the helpemmentaler functions and - don't need the real inclusion of all font data and - don't need some other details and - don't work properly with our old code we might well

Re: Use -b together with -dgs-never-embed-fonts (issue 325630043 by knup...@gmail.com)

2017-09-25 Thread trueroad
On 2017/09/25 13:21:44, dak wrote: I don't really have a clue here: can someone chime in with the current Ghostscript versions in possibly concerned distributions? Naturally including our own Gub-based ones? GUB has Ghostscript 9.21 except freebsd-x86. (Ghostscript 9.2x for freebsd-x86

Re: Use -b together with -dgs-never-embed-fonts (issue 325630043 by knup...@gmail.com)

2017-09-25 Thread knupero
> --use-encodings switches emmentaler glyph generation from "glyphshow" to > "show"+encodings and might be combined width -dgs-never-embed-fonts. That sounds good. It also sounds like -dgs-never-embed-fonts should imply --use-encodings, right? No. There are legitimate uses for both

Re: Use -b together with -dgs-never-embed-fonts (issue 325630043 by knup...@gmail.com)

2017-09-25 Thread knupero
I don't really have a clue here: can someone chime in with the current Ghostscript versions in possibly concerned distributions? Naturally including our own Gub-based ones? OpenSuSE Tumbleweed: 9.21 OpenSuSE Leap: 9.15, but also offers 9.21 https://codereview.appspot.com/325630043/

Re: Use -b together with -dgs-never-embed-fonts (issue 325630043 by knup...@gmail.com)

2017-09-25 Thread dak
Why are we still navigating the bleeding edge? LilyPond is more than 20 years old. On 2017/09/25 16:38:16, knupero wrote: > > --use-encodings switches emmentaler glyph generation from "glyphshow" to > > "show"+encodings and might be combined width -dgs-never-embed-fonts. > > That sounds

Re: Ghostscript/GhostPDL 9.22 Release Candidate 1

2017-09-25 Thread David Kastrup
Knut Petersen writes: >>> If other people agree that my >> patch solves the problem >> of exorbitant file sizes, we might live well without ghostscripts >> PDFDontUseFontObjectNum. >> >> I'm not really clear on how this works,

Re: Ghostscript/GhostPDL 9.22 Release Candidate 1

2017-09-25 Thread Knut Petersen
Am 25.09.2017 um 10:41 schrieb David Kastrup: The good news: The winning solution (96MB) * is possible without PDFDontUseFontObjectNum * is possible with HEAD of git master of ghostscript. What's the tree size for "make doc"? How does it deal with older versions of Ghostscript? At any

Re: Ghostscript/GhostPDL 9.22 Release Candidate 1

2017-09-25 Thread Ken Sharp
At 19:12 23/09/2017 +0200, Knut Petersen wrote: For a recent ghostscript without the PDFDontUseFontObjectNum only the combination of lilyponds --bigpdfs with -dgs-never-embed-fonts gives the desired result. The necessity for the extractpdfmark utility has not changed - use it if you link to

Re: Ghostscript/GhostPDL 9.22 Release Candidate 1

2017-09-25 Thread Knut Petersen
If other people agree that my patch solves the problem of exorbitant file sizes, we might live well without ghostscripts PDFDontUseFontObjectNum. I'm not really clear on how this works, I'm curious as to where the final embedded fonts are inserted.