You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We ran into this problem after update to version 1.3.0. Specification of fill-opacity style has no effect if opacity is less than 1. The minimal example I came up with is two rectangles taking two halves of the canvas. One with solid fill-opacity and another is half-transparent. Overall opacity for both is 0.99.
On version 1.2.0 it renders correctly:
On version 1.3.0 it paints both rects with the same opacity:
This is how Chrome renders this image, as a source of truth:
- Text-alignment support in SVG fonts
- Improved SVG font selection and handling
- Fixed caching issue in the embedded image visitors
- Fixed bug in rgba color support
- Fixed opacity bug in paths having both opacity and fill-opacity attributes #112
Hello. Thank you for this beautiful library.
We ran into this problem after update to version 1.3.0. Specification of
fill-opacity
style has no effect ifopacity
is less than 1. The minimal example I came up with is two rectangles taking two halves of the canvas. One with solidfill-opacity
and another is half-transparent. Overallopacity
for both is 0.99.On version 1.2.0 it renders correctly:
On version 1.3.0 it paints both rects with the same opacity:
This is how Chrome renders this image, as a source of truth:
The example SVG code:
The text was updated successfully, but these errors were encountered: