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

            Bug ID: 167639
           Summary: Currency symbol alignment can still be incorrect
           Product: LibreOffice
           Version: 24.2.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 201943
  --> https://bugs.documentfoundation.org/attachment.cgi?id=201943&action=edit
Sample ODS

This is a follow-up to bug 160786.
If you open the attached sample, you can see that the alignment is visibly off
in cells B10/11 and B14.

If you compare it with an older build, before the issue reported in bug 160786
(before 24.2), there are further subtle differences:
- in column A, in the old version the single digit numbers (<10) are aligned
differently than the double digit ones (>=10), in the new version the alignment
is uniform in the whole column (here the new version might be better, though it
does leave a bit more space before the currency symbol)
- in column B, except B10/11 + B14, there is similar between <10 and >=10
numbers, but here the currency symbols are aligned further left.

The bug report is primarily about the alignment in in B10/11 and B14.

Observed in LO 26.2.0.0.alpha0+ (8b60950947e8017b1f0b30538b6ef9a3bab51bee) /
Ubuntu, at 100% zoom and display scaling.

For reference, the alignment went really bad with the following commit in 24.2:
https://git.libreoffice.org/core/commit/4b743de97fc133623e46827869c4ea3eb845ad47
author          Khaled Hosny <[email protected]>   Mon Jul 17 12:38:41
2023 +0300
committer       خالد حسني <[email protected]>      Sun Jul 23 06:01:56
2023 +0200

"tdf#156234: Don’t round glyph coordinates when doing subpixel positioning"

Then it got improved by this commit in 24.8:
https://git.libreoffice.org/core/commit/089398e51409458c5438c49fb347e4f09d9c09dc
author          Mike Kaganski <[email protected]>     Thu Apr 18
13:18:37 2024 +0500
committer       Mike Kaganski <[email protected]>     Sat Apr 20
08:53:26 2024 +0200

"Return double from OutputDevice::GetTextArray"

And finally ended up in the current state after this commit in 25.2 and its
24.8 backport:
https://git.libreoffice.org/core/commit/981c5780da8ec6b6878de58909b7cc7e736ad33a
author          Jonathan Clark <[email protected]>       Tue Aug 06
06:01:57 2024 -0600
committer       Jonathan Clark <[email protected]>       Tue Aug 06
21:57:10 2024 +0200

"tdf#160786 sc: Fix repeat char format code inaccuracy"

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

Reply via email to