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

CFFParser uses String constructor without encoding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.8.5, 1.8.6, 2.0.0
    • 1.8.6, 2.0.0
    • FontBox
    • None

    Description

      The string constructor called in CFFParser#readTagName() should specify an encoding, probably "ISO-8859-1", otherwise it will not work on systems where the default encoding is something "exotic" (we have some with EBCDIC, but I never tried to run PDFBox there). Patch attached.

      Attachments

        1. CFFParser.java.patch
          0.6 kB
          Petr Slaby

        Activity

          People

            tilman Tilman Hausherr
            pslabycz Petr Slaby
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: