[Top][All Lists]

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

Re: Ghostscript/GhostPDL 9.22 Release Candidate 1

From: Knut Petersen
Subject: Re: Ghostscript/GhostPDL 9.22 Release Candidate 1
Date: Sat, 23 Sep 2017 19:12:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

Hi everybody!

The removal of the PDFDontUseFontObjectNum option in ghostscript caused a lot 
of headache during the last days.

Lilypond provides since early 2015 a way to persuade ghostscript to remove 
duplicated fonts from pdfs.
Later the extractpdfmark program was introduced to allow links to other pdfs to 
survive this process.
Also the -dgs-never-embed-fonts was introduced to force ghostscript never to 
embed fonts.
We also have a -dgs-load-fonts option.

All those options influence important details of our postscript code generation.

For ghostscript versions 9.16 and older --bigpdfs might be used with or without 
the -dgs-never-embed-fonts.

For ghostscripts versions 9.17 until the removal of ghostscripts 
PDFDontUseFontObjectNum, --bigpdfs might successfully be used with or without 
-dgs-never-embed-fonts as long as PDFDontUseFontObjectNum is given to 

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 destinations in other pdf files. Unfortunately our lilypond build system missed to use the --bigpdfs option together with the -dgs-never-embed-fonts.

If other people agree that my patch <> 
solves the problem of exorbitant file sizes, we might live well without ghostscripts 


reply via email to

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