https://issues.apache.org/ooo/show_bug.cgi?id=124084
--- Comment #11 from Regina Henschel <[email protected]> --- I do not find, where the bezier curve is shifted, so that its bound rectangle starts in svg:x, svg:y. I have looked through \xmloff\source\draw\ximpshap.cxx, but in SdXMLPathShapeContext::StartElement in line#1583 the variable aSourcePolyPolygon still has the absolute values in regard to the page as it would be for a svg-element. I see the conflict between the way, that the bounding box of a path element is aligned with the svg:x, svg:y position (draw-interpretation), and the demand, that the M command in the path is honored (svg-interpretation). But I see no reason, why not use the svg-interpretation on import and change position. This does not effect old documents, because the values were written in a way, that the svg-position interpretation results in the same position as the draw:path interpretation, and using the UI it is not possible to get such M command. It makes it possible to write paths directly, without the need to calculate bounding boxes manually. You are right, that the clipping properties of svg:viewBox in svg-graphics is not used in draw:path elements. But why not use the coordinate transformation given by svg:viewBox? I think, that this was the intention in the specification, to fit the unit-less svg:d values to the svg:x, svg:y, svg:width, and svg:height values by an implicit linear transformation. AOO core interprets it as 100th mm, but that is not mentioned in any place in the specification (as far as I know). -- You are receiving this mail because: You are on the CC list for the bug. You are watching all bug changes.
