Comment 26 for bug 808894

Revision history for this message
In , Adrian Johnson (ajohnson-redneon) wrote :

Created attachment 58179
move text string to unicode conversion into a separate function

This patch adds a new function for converting PDF text strings to UCS-4. As a result the duplicated code in TextOutputDev and pdfinfo can be replaced by a call to this function.

This patch is to ensure that my updated "fix selection of glyphs in actualtext" does not have to care about surrogates.