Le 08/04/2022 à 13:06, Trevor Bača a écrit :
Hi,

2.23.7 appears to introduce a bug in SVG output under macOS:

%%% BEGIN %%%

\version "2.23.7"

\new Staff
{
   \time 3/4
   c'2.
}

%%% END %%%

macOS 12.3.1 produces the following:

$ lilypond --svg example.ly
GNU LilyPond 2.23.7 (running Guile 2.2)
Processing `example.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...;;; note: source file
/Users/trevor/lilypond-2.23.7/share/lilypond/2.23.7/scm/lily/output-svg.scm
;;;       newer than compiled
/Users/trevor/lilypond-2.23.7/lib/lilypond/2.23.7/ccache/lily/output-svg.go
ice-9/eval.scm:351:13: Wrong number of arguments to #<procedure
embedded-glyph-string (a b c d e f g)>

The resulting SVG (attached here) is headed by a bright red banner
announcing an error.

Strangely, the choice of time signature is important: the example above
renders correctly in 4/4, even though the system-draw warning still appears.

The error appears to come from line 423 of
.../share/lilypond/2.23.7/scm/lily/output-svg.scm, at which
embedded-glyph-string is defined.

Note that the example above renders correctly with 2.23.6.

Ouch, this is pretty serious. Thanks, opened

https://gitlab.com/lilypond/lilypond/-/issues/6320

Jean


Reply via email to