[Poppler-bugs] [Bug 9001] Ligated characters are drawn multiple times when selected

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 19 04:13:36 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=9001

--- Comment #15 from Carlos Garcia Campos <carlosgc at gnome.org> ---
Comment on attachment 82642
  --> https://bugs.freedesktop.org/attachment.cgi?id=82642
ligature-selection-paint.patch

Review of attachment 82642:
-----------------------------------------------------------------

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 @@
>      w1 /= uLen;
>      h1 /= uLen;
>      for (i = 0; i < uLen; ++i) {
> +      if (i > 0) c = CHARCODE_LIGATED;

Could you explain why this means it's a ligature?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130719/5883709e/attachment.html>


More information about the Poppler-bugs mailing list