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

Overhaul the appearance generation for PDF forms

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • AcroForm
    • 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. AcroForms-SimpleTextFields.1.8.7.pdf
          1.26 MB
          Maruan Sahyoun
        2. AcroForms-SimpleTextFields.1.8.7.png
          41 kB
          Maruan Sahyoun
        3. AcroForms-SimpleTextFields.pdf
          1.26 MB
          Maruan Sahyoun
        4. AlignmentTests-pre1633495.pdf
          959 kB
          Maruan Sahyoun
        5. AlignmentTests-post1633495.pdf
          959 kB
          Maruan Sahyoun
        6. MultilineTests-prePatch.pdf
          970 kB
          Maruan Sahyoun
        7. MultilineTests-filled-post1677712.png
          40 kB
          Maruan Sahyoun
        8. MultilineTests-filled-pre1677712.png
          71 kB
          Maruan Sahyoun

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: