https://bugs.freedesktop.org/show_bug.cgi?id=63321

--- Comment #4 from Dmitry Chestnykh <[email protected]> ---
Also, notice that when displayed in WebKit and Inkscape, the text "Depth" is
not rotated. It is correctly rotated in Firefox and in the source in Draw.

The shape is:

<g xmlns="http://www.w3.org/2000/svg"; class="com.sun.star.drawing.TextShape">
      <g id="id13">
       <text class="TextShape"><tspan class="TextParagraph" font-family="Arial,
sans-serif" font-size="494px" font-weight="400"><tspan class="TextPosition"
x="1574" y="5330" transform="translate(1574,5330) rotate(-90)
translate(-1574,-5330)"><tspan fill="rgb(148,0,107)"
stroke="none">Depth</tspan></tspan></tspan></text>
      </g>
     </g>


Notice that `transform` is on the <tspan> element. When I move it to text:

<g xmlns="http://www.w3.org/2000/svg"; id="id13">
       <text class="TextShape" transform="translate(1574,5330) rotate(-90)
translate(-1574,-5330)"><tspan class="TextParagraph" font-family="Arial,
sans-serif" font-size="494px" font-weight="400"><tspan class="TextPosition"
x="1574" y="5330"><tspan fill="rgb(148,0,107)"
stroke="none">Depth</tspan></tspan></tspan></text>
      </g>


it becomes correct in WebKit: http://i.imgur.com/PuuP4jp.png

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to