lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replace `-dgs-load-fonts' to `--bigpdfs' in lilypond-book (issue 300


From: trueroad
Subject: Re: Replace `-dgs-load-fonts' to `--bigpdfs' in lilypond-book (issue 300280043 by address@hidden)
Date: Tue, 26 Jul 2016 08:25:45 -0700

> Unfortunately, Ghostscript (ps2pdf) discards PDF destination names.
> So remote PDF links do not work fine.
>
> http://bugs.ghostscript.com/show_bug.cgi?id=696943
> http://bugs.ghostscript.com/show_bug.cgi?id=695760

This is much more depressing :-(

Isn't it possible to modify `texinfo.tex' so that it creates `invalid'
remote links that only become valid after calling `ps2pdf'?  Maybe
this is a naive question since I don't know PDF format details.

I have another idea.

Extracting page mode and named destinations as PDFmark from the font
less PDF.
Both the PDF and the PDFmark are mixed by Ghostscript.

https://github.com/trueroad/extractpdfmark/

i.e.

$ extractpdfmark Fontless.pdf > Fontless.pdfmark.ps
$ gs -I<fontresourcedir> -dNOSAFER \
     -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite \
     -sOutputFile=WithEmbeddedFonts.pdf Fontless.pdf Fontless.pdfmark.ps


https://codereview.appspot.com/300280043/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]