On Thu, 2023-01-05 at 20:56 +0000, Werner LEMBERG wrote: > > > On the other hand, GS's new PDF engine no longer contains a PS > > > interpreter; it is possible that `extractpdfmark` doesn't work > > > anymore, and we have to find something new... > > > > This is wrong, or at least the new PDF *interpreter* (which is, in > > my understanding, not to be confused with the PDF driver to output > > PDF) in itself is not to blame here: The new interpreter was > > already enabled by default in Ghostscript 9.56 and this version > > still works perfectly fine, yielding small PDF sizes together with > > extractpdfmark. > > Yes, you get small files, BUT: If I compile LilyPond out of the box > using GS version 9.56.1 or 10.0.0 together with `extractpdfmark`, I > get PDF files with many hyperlinks gone. I've just tried compilation > again with current git: `notation.pdf` is about 6MByte and doesn't > contain any internal links: just try the table of contents. For me, > this looks like the PDF interpreter ignoring `notation.pdfmark`. > > Jonas, how do you compile? Do you get something better?
No, I also get this. But my conclusion still stands, I don't see an immediate connection between the new PDF interpreter and file size increase (this is what "perfectly fine" was referring to).
signature.asc
Description: This is a digitally signed message part