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
The group returned by Text::flattened always has the default abs_transform. usvg::text::flatten::flatten does not propagate the containing Text's abs_transform.
This does not affect resvg since resvg::render::render_group re-calculates abs_transform (Line 56).
Is it intended to re-calculate abs_transform in resvg and keep abs_transform in Text::flattened default?
The text was updated successfully, but these errors were encountered:
paxbun
changed the title
Flattened Text Group always has the default abs_transform
Flattened Text Group always has the identity abs_transform
Apr 8, 2024
resvg version: 0.41
The group returned by
Text::flattened
always has the defaultabs_transform
.usvg::text::flatten::flatten
does not propagate the containingText
'sabs_transform
.This does not affect
resvg
sinceresvg::render::render_group
re-calculatesabs_transform
(Line 56).resvg/crates/resvg/src/render.rs
Lines 50 to 61 in b908baf
All tests pass even after modifying
usvg::text::flatten::flatten
as follows.Is it intended to
re-calculatekeepabs_transform
inresvg
andabs_transform
inText::flattened
default?The text was updated successfully, but these errors were encountered: