Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7, 6.8.2, 6.9.0 Beta2
Description
When a <tspan> element is given an x and y coordinate, these appear to be ignored.
Example:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg width="210mm" height="297mm" viewBox="0 0 210 297" version="1.1" id="svg1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"> <defs id="defs1"> <linearGradient id="linearGradient1"> <stop style="stop-color:#ff0000;stop-opacity:1;" offset="0" id="stop1" /> <stop style="stop-color:#00ff00;stop-opacity:1;" offset="1" id="stop2" /> </linearGradient> <rect x="150.02508" y="181.45326" width="412.12424" height="148.24613" id="rect1" /> <linearGradient xlink:href="#linearGradient1" id="linearGradient2" x1="159.13997" y1="232.67492" x2="543.63868" y2="232.67492" gradientUnits="userSpaceOnUse" /> </defs> <g id="layer1"> <text xml:space="preserve" transform="scale(0.26458333)" id="text1" style="font-size:93.3333px;font-family:'Courier New';-inkscape-font-specification:'Courier New';white-space:pre;shape-inside:url(#rect1);display:inline;opacity:0.557377;fill:url(#linearGradient2);stroke-width:1.00157;"><tspan x="150.02539" y="266.60392" id="tspan3">FOOBAR</tspan></text> </g> </svg>
The x and y in the tspan appear to have no effect, the text baseline will be at 0,0. Moving them or just copying them into the <text> element makes the text appear in the correct place.
Attachments
Issue Links
- mentioned in
-
Page Loading...