Menu

#176 viewBos support broken

closed-fixed
General (130)
5
2004-02-05
2004-01-08
No

Contrary to the SVG 1.1 standard (tinyurl.com/2x392),
in the svg tag, Sodipodi 0.33 seems to assume
preserveAspectRatio="none"
by default instead of
preserveAspectRatio="xMidYMid meet"
Consequently, the aspect ratio of many SVG graphics
that use the viewBox parameter is distorted when viewed
with Sodipodi.

The attached file, bug.svg, illustrates the problem
(the circle should be displayed as a circle, but is
displayed as an ellipse). A workaround, obviously, is
to specify
preserveAspectRatio="xMidYMid meet"
explicitly as a parameter of the svg tag.

Discussion

  • Felix E. Klee

    Felix E. Klee - 2004-01-08

    circle that is falsely displayed as an ellipse

     
  • Lauris Kaplinski

    Logged In: YES
    user_id=19294

    Fixed in CVS

     
  • Lauris Kaplinski

    • status: open --> closed-fixed
     

Log in to post a comment.