https://issues.apache.org/ooo/show_bug.cgi?id=124452
--- Comment #10 from Regina Henschel <[email protected]> --- The error is in the file. The enhanced geometry uses the attribute values "logwidth" and logheight" in the formulas. These are specified to "The width of the svg:viewBox attribute in 1/100th mm is used." and "The height of the svg:viewBox attribute in 1/100th mm is used." [table 11 in section 19.171 draw:formula in ODF1.2 part 1] But the shapes have svg:viewBox="0 0 0 0". This results in logwidth=0mm and logheight=0mm. If the wrong value of the svg:viewBox is replaced by a suitable value derived from the svg:width and svg:height attribute, then the shapes are rendered as in LO. In SVG graphic context zero width and zero height in the svg:viewBox value would disable rendering of the element. For me the error is in LO, which seems to write such svg:viewBox="0 0 0 0" attribute and seems to calculate logwidth and logheight not from the svg:viewBox attribute but from the svg:width and svg:height. Perhaps we can make AOO more fault tolerant and write some meaningful values, when reading such faulty svg:viewBox value? Perhaps convert svg:width to 1/100th mm and take that value for the third svg:viewBox parameter, same for height for the forth parameter? -- You are receiving this mail because: You are on the CC list for the issue. You are the assignee for the issue. You are watching all issue changes.
