NEW 275313
Bidi (Hebrew, Arabic) text in svg is displayed in reverse on text paths and when letter-spacing in text is non zero
https://bugs.webkit.org/show_bug.cgi?id=275313
Summary Bidi (Hebrew, Arabic) text in svg is displayed in reverse on text paths and w...
Tom Bigelajzen
Reported 2024-06-10 03:00:52 PDT
Created attachment 471637 [details] live demo, looks bad on safari only Bidi (Hebrew, Arabic) text in svg is displayed in reverse (=== bidi algorithm not applied) on text paths and when letter-spacing in text is non zero, (and maybe in other cases were letters rects are calculated separately). Arabic text also looses text shaping. Happens only in Safari/Webkit on all uses and versions. There were some Chromium bugs related to this issue that were fixed about a year ago https://issues.chromium.org/issues/40366122 (look also at the 5 duplicates)
Attachments
live demo, looks bad on safari only (1.32 KB, text/html)
2024-06-10 03:00 PDT, Tom Bigelajzen
no flags
safari behavior screenshot (40.25 KB, image/png)
2024-06-10 03:01 PDT, Tom Bigelajzen
no flags
Chrome behavior screenshot (correct) (38.46 KB, image/png)
2024-06-10 03:02 PDT, Tom Bigelajzen
no flags
test case (370 bytes, text/html)
2024-06-18 15:37 PDT, Said Abou-Hallawa
no flags
Tom Bigelajzen
Comment 1 2024-06-10 03:01:54 PDT
Created attachment 471638 [details] safari behavior screenshot
Tom Bigelajzen
Comment 2 2024-06-10 03:02:20 PDT
Created attachment 471639 [details] Chrome behavior screenshot (correct)
Radar WebKit Bug Importer
Comment 3 2024-06-17 03:01:15 PDT
Said Abou-Hallawa
Comment 4 2024-06-18 15:37:32 PDT
Created attachment 471702 [details] test case
Tom Bigelajzen
Comment 5 2024-06-29 00:07:22 PDT
(In reply to Said Abou-Hallawa from comment #4) > Created attachment 471702 [details] > test case I would have added punctuation marks to your test case. Forgot to add them to my demos and thought about it just now.
Note You need to log in before you can comment on or make changes to this bug.