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

no field content after PDAcroForm.refreshAppearances() call if BBox empty

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.16
    • 2.0.17, 3.0.0 PDFBox
    • AcroForm
    • None

    Description

      Calling refreshAppearances() for the attached file (which is an "improved" version of the file from the linked issue, I included a font in the acroform default resources) shows nothing. The reason is that all BBoxes of the text fields are empty. Adobe has no problem displaying the file, thus we should treat an empty BBox like a non existent BBox, see PDFBOX-4615.

      Attachments

        1. PDFBOX-4638-refreshed-good.pdf
          913 kB
          Tilman Hausherr
        2. PDFBOX-4638-refreshed-bad.pdf
          915 kB
          Tilman Hausherr
        3. PDFBOX-4638.pdf
          908 kB
          Tilman Hausherr

        Issue Links

          Activity

            People

              tilman Tilman Hausherr
              tilman Tilman Hausherr
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: