bug-lilypond
[Top][All Lists]
Advanced

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

Issue 1434 in lilypond: SVG backend: xml:space="preserve" is needed for


From: lilypond
Subject: Issue 1434 in lilypond: SVG backend: xml:space="preserve" is needed for <text> and/or <tspan>
Date: Sun, 05 Dec 2010 07:26:08 +0000

Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Low

New issue 1434 by pnorcks: SVG backend: xml:space="preserve" is needed for <text> and/or <tspan>
http://code.google.com/p/lilypond/issues/detail?id=1434

If the value inside <text> or <tspan> has leading or trailing whitespace characters, these whitespace characters are removed by default. This behavior agrees with the SVG/XML recommendations.

With LilyPond, we want to *preserve* this whitespace, because any space within \markup strings is significant. We can use the attribute "xml:space" with the value "preserve" to make the whitespace significant within <text> or <tspan>, but...

There are some cross-application issues; in particular, applications that use librsvg render <text> or <tspan> elements in embarrassing ways when they use xml:space="preserve".

It would be nice to verify that librsvg is at fault, and if so, file a bug. Then we can move forward with this.




reply via email to

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