https://bugs.documentfoundation.org/show_bug.cgi?id=132897

--- Comment #13 from Alvaro Segura <[email protected]> ---
I just tried the sample document with the latest LO 25.8.3 and the problem
persists.

The autoshape rectangle is too small vertically (text overflows) and the
corners rounding is too small.


Now some more info after more analysis:


The style says: "width:375.75pt;height:57.35pt" so the size is correct. But in
Word the shape has *Adjust size to text* checked, so Word is expanding the
shape for the text to fit. The XML indicates

<v:textbox style="mso-fit-shape-to-text:t">

and LO seems to ignore this flag.

Regarding the rounding, I've learned that the radius (arcsize="6981f"
attribute) is expressed as a fraction of the smallest size (height or width).
So, if the height was too short then the radius appeared too small.

After fixing the height so that the rectangles look the same, the rounding is
still a little smaller.

The "f" suffix in arcsize means the fraction is scaled by 65536 ("6981f" ->
6981/65536 = 0.106 -> r = 10.6% of height).

By comparing Word and LO with different roundings, it appears that LO is making
the radius *half of what it should*.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to