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

Throwing in PDType1Font.encode for chars above 255 is wrong.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: PDModel
    • Labels:
      None

      Description

      Chars like `'\u2019'` can be handled by the code following the test, so throwing in `PDType1Font.encode` whenever `unicode > 0xff` is wrong. See

      http://stackoverflow.com/a/34598915/581205

        Attachments

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              maaartinus Maaartinus
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified