svg2android icon indicating copy to clipboard operation
svg2android copied to clipboard

Stroke width not adjusted when baking a scale transform

Open bcholmes opened this issue 8 years ago • 2 comments

If I have an SVG image that has been scaled, the "bake transforms into path" tool recalculates the location of the path points nicely, but it doesn't apply a scale on the stroke width. As a result, the stroke looks out of proportion to the rest of the image.

I get that this is a hard problem if there's a different scale on X versus Y, but that's not my most common use case.

bcholmes avatar Jan 20 '17 16:01 bcholmes

Can you please provide some example SVG?

yuraj11 avatar Jan 27 '17 14:01 yuraj11

bicycle svg Rendering of SVG original

bicycle xml Rendering of Android drawable

Both files are in this zip: bicycle.zip

westnordost avatar Mar 19 '17 22:03 westnordost