[Poppler-bugs] [Bug 46603] some glyphs not displayed when text is selected

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 4 20:38:26 PST 2012


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

--- Comment #9 from Jason Crain <jason at aquaticape.us> 2012-03-04 20:38:26 PST ---
Comment on attachment 57993
  --> https://bugs.freedesktop.org/attachment.cgi?id=57993
fix selection of glyphs in actualtext

Review of attachment 57993:
 --> (https://bugs.freedesktop.org/page.cgi?id=splinter.html&bug=46603&attachment=57993)
-----------------------------------------------------------------

::: poppler/TextOutputDev.cc
@@ +5331,5 @@
> +    // If this is the last glyph ensure all remaining text is included
> +    // as pos may be < length due to rounding errors.
> +    if (i == lenGlyphs - 1)
> +      count = length - first;
> +    text->addChar(state, glyphs[i].x, glyphs[i].y, glyphs[i].dx, glyphs[i].dy,

This needs to make sure that a surrogate pair is not split

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list