This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Usually svg code rows are long. Thus the line is usually automatically broken and additional space characters are added. Unfortunately this characters are then displayed in browsers. As a solution I use 1000 characters (max. num.) in a row, but it is a temporary solution. Somehow additional spaces should be omitted or <text>Text</text> should not be broken as: <text> Text </text>
Created attachment 661 [details] tspan in text creates addiotional spaces Take a look at this example: <text textLength="115" x="279.00" y="244.50">C<tspan baseline-shift="sub" font-size="75%">21</tspan> H<tspan baseline-shift="sub" font-size="75%">27</tspan> N<tspan baseline-shift="sub" font-size="75%">2</tspan> <tspan baseline-shift="super" font-size="75%">-</tspan> MgBr<tspan baseline-shift="super" font-size="75%">+</tspan> </text> There are still additional spaces :-(
Please pay attention. The bug is still exists when <tspan> and <text> are used.