GNOME Bugzilla – Bug 636661
xml:space="preserve" is not processed correctly
Last modified: 2010-12-07 03:40:30 UTC
Created attachment 175979 [details] [review] Patch to fix the issue For <text> elements (and its child elements, such as <tspan>), the SVG 1.1 and SVG 1.2 Tiny recommendations specify that tab and newline characters are to be converted into spaces, but only when `xml:space' has the value `preserve'. The solution, as I see it is to convert these characters in the "_rsvg_text_chomp" function in rsvg-text.c. See the attached patch. Thanks.
*** This bug has been marked as a duplicate of bug 636660 ***