[Poppler-bugs] [Bug 27728] New: pdftops gets "Error: Illegal entry in bfrange block in ToUnicode CMap"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 18 20:43:15 PDT 2010


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

           Summary: pdftops gets "Error: Illegal entry in bfrange block in
                    ToUnicode CMap"
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: williambader at hotmail.com


Created an attachment (id=35151)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=35151)
proposed patch

I have a 9 MB file that produces this message a large number of times.
It looks like the file has <00##> where pdftops expects a two-digit value.
The attached patch to CharCodeToUnicode.cc fixes the problem by allowing either
<##> or <00##>.
Several places in CharCodeToUnicode.cc produce the identical error message.  My
patches also make the messages slightly different to help localize the problem.

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