https://bugs.freedesktop.org/show_bug.cgi?id=39206
--- Comment #10 from Owen Genat <[email protected]> --- This appears to be a problem with LO not taking the transform attribute of the g element into consideration. http://www.w3.org/TR/SVG11/coords.html#TransformAttribute The provided SVG contains: > <g > inkscape:label="Layer 1" > inkscape:groupmode="layer" > id="layer1" > transform="translate(0,-287.36218)"> ... > <image y="341.99582" x="536.0332" ... While it is unusual for the Y coord to be listed before the X coord in the image element, this is likely still valid. The raster image is in Layer 1. Opening the SVG in Draw under Ubuntu 10.04 x86_64 running: - v3.3.0.4 OOO330m19 Build: 6 - v3.4.6.2 OOO340m1 Build: 602 - v3.5.7.2 Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b - v3.6.7.2 Build ID: e183d5b - v4.0.6.2 Build ID: 2e2573268451a50806fcd60ae2d9fe01dd0ce24 - v4.1.3.2 Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a ... reveals these coordinates in all cases: Position X: 536.0pt (18.91cm) Position Y: 342.opt (12.07cm) If the translate amount (-287.36218) is added to the Y coord (341.99582) the result is 54.63364. Changing the Y coord in Draw of the raster object to this value appears to result in the expected positioning. In basic terms, even though the page of the SVG is set to be US Letter in landscape orientation, the location of 0,0 is not at the upper left of this area. Instead the translate value is used to place 0,0 where the the top left corner of an A4 sheet in portrait orientation would be. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
