adobe / svg-native-viewer

SVG Native viewer is a library that parses and renders SVG Native documents
Apache License 2.0
155 stars 37 forks source link

This svg from google fonts gets mis-rendered. #185

Open HinTak opened 1 year ago

HinTak commented 1 year ago

Expected Behaviour

Renders the svg with full color.

Actual Behaviour

Half of it is black.

Reproduce Scenario (including but not limited to)

Will attach test file.

Steps to Reproduce

Just run testCairo or testSkia to convert to png.

See also https://gitlab.gnome.org/GNOME/librsvg/-/issues/997

Librsvg's rendering is worse.

Platform and Version

Latest git HEAD, Linux

Sample Code that illustrates the problem

Will upload test file. Just your testCairo and testSkia

Logs taken while reproducing problem

HinTak commented 1 year ago

a

Here is the test file. Extracted from Google font's Nabla

HinTak commented 1 year ago

ftgrid-14 Here is how Adobe svg native renders it, half black. (Should be all different shades of yellow/orange/red, just like it does above if you look at this issue on github with the attached svg rendered inline.