[Libreoffice-bugs] [Bug 128687] New: Internal leading not receiving same rounding as other font metrics

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Nov 9 18:03:36 UTC 2019


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

            Bug ID: 128687
           Summary: Internal leading not receiving same rounding as other
                    font metrics
           Product: LibreOffice
           Version: 6.0.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: vstuart.foote at utsa.edu

When Caolán fixed bug 107249 [1][2] by casting scaled font metrics to float and
then rounding, seems like the Internal Leading got missed for rounding. It
continues to use the mnHeight value (and is left unscaled?) [3].

Not sure where exactly we use the Internal Leading as in
ImplInitAboveTextLineSize() but something seems off.

Notice clipping with some fonts with the single U+01FA, or for strings with
glyphs of a couple of combining glyphs. Eg., "AU+0300U+0302" or U+00C1U+0302"

As you zoom Writer canvas in and out--the glyphs get clipped at different
heights.

=-ref-=
[1] https://gerrit.libreoffice.org/#/c/41933/
[2] https://gerrit.libreoffice.org/#/c/41944/
[3]
https://opengrok.libreoffice.org/xref/core/vcl/source/font/fontmetric.cxx?r=07359ea2#379

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191109/c7dfe35e/attachment.html>


More information about the Libreoffice-bugs mailing list