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

Overhaul the appearance generation for PDF forms

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: AcroForm
    • Labels:
      None

      Description

      The appearance handling for forms in 1.x is limited and does not reflect all settings possible for form fields. In addition the current code is not very modular and does not follow the box model used for form fields.

      Unfortunately only the basics of form handling are defined in the PDF spec. The details like padding of boxes, text placement etc. have to be determined by looking at how Adobe forms are generated.

      Update: The file from PDFBOX-2310 has bad rendering which might be related?

        Attachments

        1. MultilineTests-filled-pre1677712.png
          71 kB
          Maruan Sahyoun
        2. MultilineTests-filled-post1677712.png
          40 kB
          Maruan Sahyoun
        3. MultilineTests-prePatch.pdf
          970 kB
          Maruan Sahyoun
        4. AlignmentTests-post1633495.pdf
          959 kB
          Maruan Sahyoun
        5. AlignmentTests-pre1633495.pdf
          959 kB
          Maruan Sahyoun
        6. AcroForms-SimpleTextFields.pdf
          1.26 MB
          Maruan Sahyoun
        7. AcroForms-SimpleTextFields.1.8.7.png
          41 kB
          Maruan Sahyoun
        8. AcroForms-SimpleTextFields.1.8.7.pdf
          1.26 MB
          Maruan Sahyoun

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: