<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [FreeType] Incorrect application of glyph positioning in the Y direction"
   href="https://bugs.webkit.org/show_bug.cgi?id=161493#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [FreeType] Incorrect application of glyph positioning in the Y direction"
   href="https://bugs.webkit.org/show_bug.cgi?id=161493">bug 161493</a>
              from <span class="vcard"><a class="email" href="mailto:khaledhosny&#64;eglug.org" title="Khaled Hosny &lt;khaledhosny&#64;eglug.org&gt;"> <span class="fn">Khaled Hosny</span></a>
</span></b>
        <pre>Upon further examination, it seems that Y offsets returned from HarfBuzz are eventually discarded when creating the GlyphBuffer. In HarfBuzzShaper::fillGlyphBufferFromHarfBuzzRun(), the Y offset is (incorrectly?) used to calculate the Y advance of the glyph. Also it seems that support for Y offsets in GlyphBuffer is enabled only on Windows.

So probably what is needed here is to enable GlyphBuffer offsets also for Gtk, populate the from HarfBuzz runs, and finally using them in FontCascade::drawGlyphs().

This is all pure speculation from just reading the code.</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>