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.


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to