Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3747

CmapSubtable#getCharCodes provides values in random order

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.5, 3.0.0 PDFBox
    • Fix Version/s: 2.0.6, 3.0.0 PDFBox
    • Component/s: FontBox
    • Labels:
      None

      Description

      Some fonts may have an ambigious glyphId to character code mapping. CmapSubtable#getCharCodes provides all of them, but in a random order. We should sort the list to provide a consistent order.

        Attachments

        1. PDFBOX-3747.pdf
          10 kB
          Andreas Lehmkühler

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              lehmi Andreas Lehmkühler
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: