Forum Bugs

Svg dx property ignored when text-anchor is equal to "end"

Nevor
Hello,

There seems to be some regression regarding the dx property of the text element, it is ignored when text-anchor is set to "end". I tested with version 9 and everything was working fine. Bellow, you will find a small html file embedding svg that exhibits the problem.

<!DOCTYPE html>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="200" height="200">
  <line x1="140" y1="0" x2="140" y2="200" stroke="red" stroke-width="3px" />
  <text x="140" y="100" dx="-20" text-anchor="end">Dx text</text>
</svg>
mikeday
Thank you, we will investigate this issue.
mikeday
This issue has been fixed in Prince 10 rev 4, available now. Thanks again for letting us know. :D