Timwi,
could you share your experience, whether the
patched file fixes your problem? Would be very valuable
information for us.

Michael

Am 20.10.26 um 11:26 schrieb Michael Käppler via bug-lilypond:
I can reproduce the bug when running the 2.27.3 mingw release
under Wine.

Could be a bug in Guile's regex handling on Windows.
The wrong substitution happens before Pango
is involved.

The attached, patched output-svg.scm replaces the
substitution function with another interface already available in Lilypond using Glib regexes. (See lily/glib-regex-scheme.cc)

Timwi, could you replace "share/lilypond/2.26.0/scm/lily/output-svg.scm" in your Lilypond installation with the attached file
and see if it fixes the problem for you?

As a side note, there are more characters that would
have to be escaped I think. to-xml.scm has examples.
We should have this functionality in one place.

Michael

Am 19.10.26 um 09:05 schrieb Werner LEMBERG:

I apologize for this omission: I am running LilyPond on Windows.  I
installed LilyPond 2.26.0 via Frescobaldi and then used the
command-line to invoke the lilypond.exe that Frescobaldi installed.
I did not expect this bug to be Windows-specific.

Michael, can you please have a look?  It seems you are the only person
who is doing some Windows programming related to LilyPond...

This is the kind of bug that may also be locale-specific.  I am not
sure how one can let Windows report those.

It might also be a Pango bug...


     Werner


Reply via email to