NEW 271045
[LBSE] SVG text on gradient not working
https://bugs.webkit.org/show_bug.cgi?id=271045
Summary [LBSE] SVG text on gradient not working
Pawel Lampe
Reported 2024-03-15 02:20:19 PDT
Created attachment 470380 [details] screenshot The https://www.w3.org/Graphics/SVG/Test/20110816/harness/htmlObjectApproved/pservers-grad-08-b.html is currently not working correctly when LBSE is used on WPE port - see attached screenshot.
Attachments
screenshot (135.32 KB, image/png)
2024-03-15 02:20 PDT, Pawel Lampe
no flags
Pawel Lampe
Comment 1 2024-03-15 02:23:17 PDT
Please note that the same problem is observed when I'm trying to implement the fillRect() fast path for Skia. Therefore I'm guessing LBSE is laying out things in wrong order, or doing some other things wrong.
Nikolas Zimmermann
Comment 2 2024-03-17 15:23:52 PDT
Thanks Pawel for filing the ticket. LBSE implements gradients on text without any temporary ImageBuffers, as opposed to the legacy SVG engine, but instead relying on compositing operations. That operation mode is untested on Cairo/Skia so far -- the legacy SVG engine doesn't exercise it. LBSE development mostly happens on macOS -- gradients work fine using CoreGraphics on macOS/iOS platform. We can have a chat and discuss this tomorrow -- I can suggest you a debugging strategy to approach this.
Note You need to log in before you can comment on or make changes to this bug.