Created attachment 125447 [details] astral.pdf Forwarding from https://bugs.debian.org/702082 Both of the attached documents, astral.pdf and qq.pdf, include astral characters in the document outline. poppler doesn't handle the surrogate pairs correctly. In evince, this leads to the outline not being shown correctly and "Invalid UTF-8" warning messages being printed to the terminal.
Created attachment 125448 [details] qq.pdf
Created attachment 125449 [details] [review] Fix-UTF16-decoding-of-document-outline-title.patch This patch changes the OutlineItem constructor to use the TextStringToUCS4 function instead of doing the conversion itself.
Pushed, thanks!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.