<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Wrong glyphs rendered with Skia"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135351#c22">Comment # 22</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Wrong glyphs rendered with Skia"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135351">bug 135351</a>
              from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
        <pre>(In reply to Luboš Luňák from <a href="show_bug.cgi?id=135351#c16">comment #16</a>)
<span class="quote">> Interestingly, "Uwqteg" is "Source" and "Enkem" is "Click", if shifted by
> two in ASCII. That suggests something uses wrong glyphs for some reason.</span >

Nice find!

<span class="quote">> I have no idea how to debug this though, especially since I cannot reproduce
> locally.</span >

While I could not make the Source Sans fonts to misbehave after reinstalling, I
could repro the problem using the fonts from <a href="show_bug.cgi?id=135351#c21">comment 21</a> and the document from
<a href="show_bug.cgi?id=135351#c20">comment 20</a>.

<span class="quote">> On thing you could try is to modify
> WinSkiaSalGraphicsImpl::DrawTextLayout() and comment out the call to
> createDirectWriteTypeface(), which should switch text rendering from
> DirectWrite to GDI.</span >

Making typeface to get its value from SkCreateTypefaceFromLOGFONT fixes the
problem with the font ...

(In reply to Luboš Luňák from <a href="show_bug.cgi?id=135351#c18">comment #18</a>)
<span class="quote">> Since this is possibly a bug in Skia, one more thing you could try is to
> check other software that uses Skia, namely Chrome/Chromium. Does the
> problem show there too with the affected font?</span >

I could not repro, neither in Chrome dialog (where I could try to modify the
"standard" fonts), nor using an html like

<span class="quote">> <html><body><p style="font-family:Utopia">This is a <i>paragraph.</i></p></body></html></span >

Note that in the Chrome dialog, I could not play with italics, which seem to be
affected in the bugdoc from <a href="show_bug.cgi?id=135351#c20">comment 20</a>.

Any other code pointer I could check (if you have an advise to make debugging
easier)?</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>