The main issue is that usvg now generates a top level group to capture the viewBox transform, if any. This interferes with our layer heuristics. We now detect such group and, when detected, parse its children to create layers.
Other changes in usvg are welcome: immutable object, method APIs instead of data member, etc.
The main issue is that usvg now generates a top level group to capture the
viewBox
transform, if any. This interferes with our layer heuristics. We now detect such group and, when detected, parse its children to create layers.Other changes in usvg are welcome: immutable object, method APIs instead of data member, etc.
Also: