Diffusion Krita 218dbca4142a

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
(cherry picked from commit 9fb11a3ed3a1b6ab34c94ea7dcf76d4c118c71cc)

Details

Committed
remptOct 4 2019, 7:59 AM
Parents
R37:06e15deab6f0: Correct pt/inch confusion in docs
Branches
Unknown
Tags
Unknown