[Poppler-bugs] [Bug 17321] Incorrect extaction of /ToUnicode CMaps for ligatures.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Aug 27 07:49:17 PDT 2008
http://bugs.freedesktop.org/show_bug.cgi?id=17321
--- Comment #3 from Vasile Gaburici <gaburici at cs.umd.edu> 2008-08-27 07:49:02 PST ---
Created an attachment (id=18546)
--> (http://bugs.freedesktop.org/attachment.cgi?id=18546)
Fixes the CMap ligature search bug.
I fixed it. Two patches coming up; one is the one line fix. The other is the
debugging patch in case you want to validate this with other pdfs before
committing.
$ pdftotext liga-cmap-bug.pdf
Setting @0 00[0] -> 0054
Setting @0 00[1] -> 0068
Adding @1 00: 00410068 + 0
Adding @2 02: 00660066006A + 0
Adding @3 03: 01620068 + 0
Adding @4 0B: 00660066 + 0
Adding @5 0C: 00660069 + 0
Adding @6 0D: 0066006C + 0
Adding @7 0E: 006600660069 + 0
Adding @8 0F: 00660066006C + 0
Adding @9 9C: 0049004A + 0
Adding @10 A0: 0066006A + 0
Adding @11 BC: 0069006A + 0
Returning @1 00[0] -> 0041
Returning @1 00[1] -> 0068
$ cat liga-cmap-bug.txt
Ahis A.
--
Configure bugmail: http://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