W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2003

SVG box sizes appear bigger than size defines with mouse

From: Juan Lanus <jlanus@netscape.net>
Date: Sun, 14 Sep 2003 11:51:50 -0300
To: www-amaya@w3.org
Message-ID: <bk1v80$l0h$1@sea.gmane.org>

Hi Amaya team,

Sorry if this has been aready said, this is my first attempt with SVG.

When I draw a rectangle as describes in help, bi clicking twicw with the 
mouse, the outcome is a recangle much bigger that the area I delimited.

Amaya 8.1b in W2K Pro with monitor displaying 1152 x 864 pixels.

The code below is the outcome of drawing a rectangle (which appeared 
bigger than it's definition) and a second rectangle 1mm below the first 
one and the same width (albeit with less height):

<body>
<svg xmlns="http://www.w3.org/2000/svg" version="1.0" height="186px">
   <rect stroke="black" fill="none" y="8px" x="2px" width="275px"
         height="81px"/>
   <rect stroke="black" fill="none" y="122px" x="2px" width="365px"
         height="17px"/>
</svg>
</body>

The second rectangle is 365px wide while it should be in the 
neighborhood of 265px.
It also appears far down from the first one while it should be close to it.

I did some source editing yesterday and the program tended to crash 
after syncing.

Saludos!
--
Juan Lanus
TECNOSOL
Argentina
Received on Sunday, 14 September 2003 10:50:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:42 UTC