Diffusion Krita 9fb11a3ed3a1

Fix wrong aspect ratio on SVG Load

Authored by vanyossi on Oct 3 2019, 8:13 PM.

Description

Fix wrong aspect ratio on SVG Load

We incorrectly treated the absence of preserveAspectRatio
as set to "none". Svg specification states the initial value
of this property should be "xMidYMid meet". in case there
is no property we now use the initial value instead of
ignoring.

Updated TestSvgParser cases to use "none" so the resulting
shape corresponds to the old behaviour.

BUG:407425

Details

Committed
vanyossiOct 3 2019, 8:13 PM
Parents
R37:dd1e9a5788bb: Fix losing user files due to power outage short after saving in Krita
Branches
Unknown
Tags
Unknown