https://bugs.documentfoundation.org/show_bug.cgi?id=142997
Bug ID: 142997
Summary: [EMF+] stringAlignmentHorizontalOffset is incorrect
for StringFormat StringAlign set to 'center' or 'far'
Product: LibreOffice
Version: 7.3.0.0 alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: filters and storage
Assignee: [email protected]
Reporter: [email protected]
Description:
LO calculates incorrect value for stringAlignmentHorizontalOffset.
It seems to become worse with larger font sizes.
Steps to Reproduce:
Open attached EMF sample.
Actual Results:
LO draws "H Align center H" and "H Align far HHHH" lines progressively shifted
to the left from their expected positions.
Expected Results:
'Align center' string should be centered, 'Align far' string should be right
aligned with the 'scale'.
Reproducible: Always
User Profile Reset: No
Additional Info:
Minified from AOO i#74168.
Calculation happens here:
https://github.com/LibreOffice/core/blob/master/drawinglayer/source/tools/emfphelperdata.cxx#L1578:L1586
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs