Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0 - Beta
    • Fix Version/s: 4.0
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      The class org.icepdf.core.pobjects.fonts.ofont.CMap will only return a toUnicode cmap value if the cmap files has a cIdSystemInfo which is a bit strange. There is a simple fix for comment out the if statement on line 449 in the method toSelector(char charMap):char.

      I'll update the code with more information on the fix.

        Activity

        Hide
        Patrick Corless added a comment -

        Removed check for a valid cidSystemInfo when processing a toSelector method call. I can't see any reason for this check to be made as all the important information for cmaps are in bfChars and bfRange definitions.

        Marking as fixed.

        Show
        Patrick Corless added a comment - Removed check for a valid cidSystemInfo when processing a toSelector method call. I can't see any reason for this check to be made as all the important information for cmaps are in bfChars and bfRange definitions. Marking as fixed.
        Hide
        Martin Wildam added a comment -

        Thank you very much! I can confirm that it works now (I tested it on Windows and Ubuntu).

        Show
        Martin Wildam added a comment - Thank you very much! I can confirm that it works now (I tested it on Windows and Ubuntu).

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: