[Webkit-unassigned] [Bug 253137] New: SVG tspan renders incorrectly with LTR languages (Arabic)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 28 22:14:29 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=253137

            Bug ID: 253137
           Summary: SVG tspan renders incorrectly with LTR languages
                    (Arabic)
           Product: WebKit
           Version: Safari 16
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kiewic at gmail.com
                CC: sabouhallawa at apple.com, zimmermann at kde.org

Created attachment 465233

  --> https://bugs.webkit.org/attachment.cgi?id=465233&action=review

SVG tspan repro with Arabic text

An SVG with multiple text tspan renders incorrectly. In the attached example, there are two tspan, the second one has a dx shift, however somehow the shift is applied to a substring of the first tspan. It gives the impression that some characters from the first <tspan> have exchange position with the content of the second <tspan>. Even if this was by design, the rest of the styles are not applied as expected. For example, the "text-anchor: middle" fails to horizontally align the text to the middle.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230301/20da1cae/attachment.htm>


More information about the webkit-unassigned mailing list