lilypond-devel
[Top][All Lists]
Advanced

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

Re: Minimum GS version


From: Han-Wen Nienhuys
Subject: Re: Minimum GS version
Date: Sun, 29 Sep 2024 09:25:55 +0200

The EPS files have some tricks to keep sizes small (load font files
directly from the FS), which requires -dNOSAFER, and makes them more
fiddly.

If you are trying to get up to speed with regression testing, you
could try running the whole thing (baseline and test) with
-dbackend=cairo which produces PNG files directly.

On Sun, Sep 29, 2024 at 12:08 AM Luca Fascione <l.fascione@gmail.com> wrote:
>
> Hi,
> I'm trying to convert this file
> $build/input/regression/out-test/tuplet-number-shift-along-kneed-beam.eps
> to pdf
> using epstopdf.
> This doesn't fail, and in fact gv shows the contents (using -dNOSAFER).
> But the pdf produced seems to be an empty file.
> Or rather has some data in it, but gv displays the message
>
> Warning: Missing charsets in String to FontSet conversion
>
> And all pixels render white.
>
> I'm using GhostScript 9.55 and just remembered something about a minimum
> version of GS being needed for lilypond EPS files.
>
> FWIW, if I read it correctly, epstopdf ends up doing just about this:
> cat
> /home/lukes/src/lilypond-build/input/regression/out-test/tuplet-number-shift-along-kneed-beam.eps
> | gs -dNOSAFER -dNOPAUSE -dBATCH -dCompatibilityLevel=1.5 -sDEVICE=pdfwrite
> -sOutputFile=/tmp/lukes/lilypond/input/regression/out-test/tuplet-number-shift-along-kneed-beam.pdf
> -dPDFSETTINGS#/prepress -dMaxSubsetPct=100 -dEmbedAllFonts=true
> -dAutoRotatePages#/None -dDEBUG - -c quit
>
> Which I also tried on cmdline with the same result.
>
> I see on this page
>
> https://lilypond.org/doc/v2.25/Documentation/contributor/requirements-for-running-lilypond
>
> that minimum GS is 9.03, though.
>
> Any clues?
> Cheers
> Luca
>
> --
> Luca Fascione



-- 
Han-Wen Nienhuys - hanwenn@gmail.com - http://www.xs4all.nl/~hanwen



reply via email to

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