<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Ligated characters are drawn multiple times when selected"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=9001#c15">Comment # 15</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Ligated characters are drawn multiple times when selected"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=9001">bug 9001</a>
              from <span class="vcard"><a class="email" href="mailto:carlosgc@gnome.org" title="Carlos Garcia Campos <carlosgc@gnome.org>"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=82642" name="attach_82642" title="ligature-selection-paint.patch">attachment 82642</a> <a href="attachment.cgi?id=82642&action=edit" title="ligature-selection-paint.patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=9001&attachment=82642'>[review]</a>
ligature-selection-paint.patch

Review of <span class=""><a href="attachment.cgi?id=82642" name="attach_82642" title="ligature-selection-paint.patch">attachment 82642</a> <a href="attachment.cgi?id=82642&action=edit" title="ligature-selection-paint.patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=9001&attachment=82642'>[review]</a>:
-----------------------------------------------------------------

Patch works. I wonder if we should return the ligatures as a single character
instead so that we don't need a special case.

::: poppler/TextOutputDev.cc
@@ +2392,4 @@
<span class="quote">>      w1 /= uLen;
>      h1 /= uLen;
>      for (i = 0; i < uLen; ++i) {
> +      if (i > 0) c = CHARCODE_LIGATED;</span >

Could you explain why this means it's a ligature?</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>