[Webkit-unassigned] [Bug 171664] text-transform:uppercase in SVG causes misplaced letters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 23 12:46:08 PDT 2022


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

--- Comment #10 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
It works and compile if you do:

void RenderSVGInlineText::setRenderedText(const String& text)
{
-    RenderText::setRenderedText(text);
+    RenderText::setRenderedText(applySVGWhitespaceRules(text, style().whiteSpace() == WhiteSpace::Pre));

But it has performance implications, my PR was here:

https://github.com/WebKit/WebKit/pull/4405

It has performance implications as mentioned by @Simon since above change will take assumption that all text has whitespace and run with it.

____

I had to close my PR due to mid changes clash, it got unintended changes from some other changes. Will try again in future but if someone has to take it up, they can.

-- 
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/20221023/d8ae9459/attachment.htm>


More information about the webkit-unassigned mailing list