Using gs 9.26, I've run `make doc-stage-1`.  Attached is one of the temporary 
PDF files as created by xelatex (from `input/regression/musicxml/out-www`).  If 
you now manually execute
```
gs -dBATCH \
   -dNOPAUSE \
   -sDEVICE=pdfwrite \
   -dAutoRotatePages=/None \
   -sOutputFile=zzz.pdf \
   -c "30000000 setvmthreshold" \
   -f /path/to/lilypond-compiled/out-fonts/*.font.ps \
   zzz.pdfmark \
   zzz.tmp.pdf
```
the resulting PDF file `zzz.pdf` doesn't contain links. Adding 
`-dPrinted=false` fixes it.


Attachments:

- 
[zzz.tmp.pdf](https://sourceforge.net/p/testlilyissues/issues/_discuss/thread/5e22b3953b/fdf1/attachment/zzz.tmp.pdf)
 (341.0 kB; application/pdf)


---

** [issues:#5444] Make PDF generation preserve links with recent ghostscript 
versions.**

**Status:** Started
**Created:** Mon Dec 03, 2018 11:29 AM UTC by Werner LEMBERG
**Last Updated:** Tue Dec 04, 2018 09:45 AM UTC
**Owner:** nobody


Make PDF generation preserve links with recent ghostscript versions.

As explained in bug report

  https://bugs.ghostscript.com/show_bug.cgi?id=699830

`gs` by default produces PDFs suited for printing.  To better follow the PDF
specification, created PDFs no longer contain links in the standard setup.
To preserve links in generated PDFs, command line option `-dPrinted=false`
must be thus added to `ps2pdf` and friends.

For simplicity, all calls to ghostscript get this option even if not
strictly necessary.

http://codereview.appspot.com/365810043


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/testlilyissues/admin/issues/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
  • [Lilypond-... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto

Reply via email to