https://bugs.freedesktop.org/show_bug.cgi?id=62846
--- Comment #3 from Jonathan <[email protected]> --- I have debugged this a little and found (at least) two problems. The first is simple - if the PDF ends with a multi-character glyph, then only the first character is put into the character mapping (that's why the my demonstration ends with a single 'f'). I've attached a patch to fix this, which is simple enough that I'm pretty confident is correct. The effect of the second bug is easy to see - only the first character of a multi-character glyph are mapped to that glyph and subsequent characters are mapped onto the next glyph (that's what produces the unwanted 'h' in 'sthif'). I've made a patch that seems to fix this problem, but as the code is not only used for producing PDFs I cannot tell whether the bug in producing PDFs is actually correct code for other functions. I've attached that patch too. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
