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

Improve handling of line breaking characters when setting AcroForm field values

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1, 2.0.2, 2.0.3, 3.0.0 PDFBox
    • Fix Version/s: 2.0.3, 3.0.0 PDFBox
    • Component/s: AcroForm
    • Labels:

      Description

      When filling AcroForm fields the text supplied to setValue might contain control characters such as \n \r, \t and others which leads to an {{ java.lang.IllegalArgumentException}} for most fonts as there is no glyph to represent these.

      We could enhance the processing of the string provided to provide proper replacements similar to how Adobe Acrobat handles that.

        Attachments

          Activity

            People

            • Assignee:
              msahyoun Maruan Sahyoun
              Reporter:
              msahyoun Maruan Sahyoun
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: