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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 8 04:05:41 PST 2012


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

--- Comment #15 from Adrian Johnson <ajohnson at redneon.com> 2012-03-08 04:05:41 PST ---
Created attachment 58178
  --> https://bugs.freedesktop.org/attachment.cgi?id=58178
convert utf-16 to ucs-4 when reading ToUnicode

The next two patches fix the problem of "fix selection of glyphs in actualtext"
not handling surrogates. The "Unicode" type is meant to be UCS-4 so the
solution is to convert UTF-16 to UCS-4 when it the ToUnicode cmap is parsed.

This patch does the UTF-16 conversion in CharCodeToUnicode.cc. As a result the
special surrogate handling in TextOutputDev and HtmlOutputDev can be removed.

-- 
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