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

CmapSubtable#getCharCodes provides values in random order

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.5, 3.0.0 PDFBox
    • 2.0.6, 3.0.0 PDFBox
    • FontBox
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: