[Top][All Lists]

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

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #1434 SVG back

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é

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 because address@hidden is subscribed to

To unsubscribe from further messages, a project admin can change settings at 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,!
Testlilyissues-auto mailing list

reply via email to

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