RazrFalcon / resvg

An SVG rendering library.
Mozilla Public License 2.0
2.61k stars 215 forks source link

Some Microsoft Segoe UI Emoji emojis look off #777

Closed LaurenzV closed 2 weeks ago

LaurenzV commented 3 weeks ago

Here is a rather extereme example: test

For most other cases it's not there / less extreme, but something is still off. Here is how it's supposed to look:

image

I still have to figure out whether it's a ttf-parser or a font2svg bug. My plan is to try to implement font2svg for skrifa and see whether the issue exists there as well, in which case it's most likely due to the gradient limitations in SVG.

RazrFalcon commented 3 weeks ago

Yes, we have to check for Sweep gradients first.