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
I use FileSvgReader to read SVGs and use the resulting Drawing in my software. In WpfDrawingSettings EnsureViewboxPosition and EnsureViewboxSie are set to true.
In v1.8.1 it works like expected. Since at least v1.8.3 the ViewBox isn't correctly handled anymore.
Tested with WpfSvgTestBox (*_expected.png faked with option EnsureViewBox=false):
Translation is not handled correctly: it seems, that when WpfDrawingContext.UpdateBounds is call (with option 'EnsureViewboxSize=true'), translation is not considered
Translation.svg:
I use FileSvgReader to read SVGs and use the resulting Drawing in my software. In WpfDrawingSettings EnsureViewboxPosition and EnsureViewboxSie are set to true.
In v1.8.1 it works like expected. Since at least v1.8.3 the ViewBox isn't correctly handled anymore.
Tested with WpfSvgTestBox (*_expected.png faked with option EnsureViewBox=false):
ViewBox is not handled correctly
ViewBox.svg:
Translation is not handled correctly: it seems, that when WpfDrawingContext.UpdateBounds is call (with option 'EnsureViewboxSize=true'), translation is not considered
Translation.svg:
SVGs are created with Inkscape 1.2.2 (732a01da63, 2022-12-09)
By the way: Thanks for you work!
The text was updated successfully, but these errors were encountered: