<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Internal leading not receiving same rounding as other font metrics"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=128687">128687</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Internal leading not receiving same rounding as other font metrics
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.0.0.3 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>graphics stack
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vstuart.foote@utsa.edu
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When Caolán fixed <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Rendering of system font vertically cramped or cropped in dialog labels and controls in 5.3+"
   href="show_bug.cgi?id=107249">bug 107249</a> [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] <a href="https://gerrit.libreoffice.org/#/c/41933/">https://gerrit.libreoffice.org/#/c/41933/</a>
[2] <a href="https://gerrit.libreoffice.org/#/c/41944/">https://gerrit.libreoffice.org/#/c/41944/</a>
[3]
<a href="https://opengrok.libreoffice.org/xref/core/vcl/source/font/fontmetric.cxx?r=07359ea2#379">https://opengrok.libreoffice.org/xref/core/vcl/source/font/fontmetric.cxx?r=07359ea2#379</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>