|
From: | Auto mailings of changes to Lily Issues via Testlilyissues-auto |
Subject: | [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #1434 SVG backend: xml:space="preserve" is needed forand/or |
Date: | Fri, 24 Aug 2018 15:49:21 -0000 |
[issues:#1434] SVG backend: xml:space="preserve" is needed forand/or
Status: Fixed
Labels: Fixed_2_21_0
Created: Sat Dec 04, 2010 11:25 PM UTC by Anonymous
Last Updated: Sat Aug 26, 2017 09:42 AM UTC
Owner: Étienne Beaulé
http://codereview.appspot.com/321460043
Originally created by: address@hidden
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.
Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Testlilyissues-auto mailing list address@hidden https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
[Prev in Thread] | Current Thread | [Next in Thread] |