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

Multiline fields won't get rendered correctly if there are multiple paragraphs in field value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • AcroForm

    Description

      I have problem with multiline fields in form filling. It seems that if i have value with newlines "\n" rendering won't work correctly. Every line seems to be rendered over previous line.

      E.g.

      value = "1\n2\n3\n4"
      

      will be rendered so than every number are rendered over each other but what I'm expecting would be something like:

      1
      2
      3
      4
      

      Attachments

        1. test473031220671768577.pdf
          124 kB
          Marko Kattelus
        2. PDFBox_test.pdf
          123 kB
          Marko Kattelus
        3. MultilineFields.pdf-1.png
          85 kB
          Marko Kattelus

        Activity

          People

            msahyoun Maruan Sahyoun
            kattelus Marko Kattelus
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: