Apache OpenOffice (AOO) Bugzilla – Issue 122919
[SVG] svgcirclenode uses wrong numbertype for radius
Last modified: 2017-05-20 10:33:52 UTC
Created attachment 81222 [details] file to reproduce the wrong radius The parameter r is neither a x-coordinate nor a width nor a y-coordinate nor a height. Therefore for percentage values the case "any other length" in SVG1.1 section 7.10 has to be used. That is the sqrt(w^2+h^2)/sqrt(2), where w and h is the size of its viewport. In case of w=6cm and h=8cm this should result in a r=7.07cm for 100%. To get this, the call of solve has to use the numbertype length and not xcoordinate.
The ellipse has the same problem. A fix is contained in the patch at bug 122600.
Comment on ellipse is wrong. Ellipse is ok, only circle is wrong, will reset that in the patch.
Created attachment 81404 [details] Set all units to px, to make the drawing comparable with browsers The circle radius is now the same as in common browsers. Verified on AOO 4.0.1 r1517538 and trunk r1517803
varified