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

Listbox controls render incorrectly in Adobe Acrobat or Adobe Reader


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.6
    • Fix Version/s: 1.8.7
    • Component/s: AcroForm
    • Labels:
    • Environment:
      Windows 7


      I have a form with a listbox. I update the value in the listbox using the following code:

      PDChoiceField c = (PDChoiceField)f;

      I have a combo box that uses the same choices, and it works fine. The issue has to do with the rendering of the field. The update of the value (i.e. setValue method) works fine, but when I look at the resulting output PDF the choices have become unreadable because the font has gone way large.

      I have searched the mailing list, and posted a question regarding this that no one has answered, so I am now assuming this is an unknown bug.



        1. JMAC_PDFBOX_out.pdf
          1.02 MB
          John McDonald
        2. JMACTest.pdf
          1.00 MB
          John McDonald
        3. PDFBoxUtil.java
          4 kB
          John McDonald
        4. PDFFormFields.pdf
          1.07 MB
          Maruan Sahyoun
        5. ListboxAcrobat.png
          17 kB
          Maruan Sahyoun
        6. ListboxPDFBox.png
          17 kB
          Maruan Sahyoun
        7. JMAC_PDFBOX_out1.jpg
          291 kB
          Tilman Hausherr
        8. JMACTest_updated.png
          14 kB
          Maruan Sahyoun
        9. JMACTest.mod.png
          32 kB
          Maruan Sahyoun

          Issue Links



              • Assignee:
                msahyoun Maruan Sahyoun
                jmac@Emericon.com John McDonald
              • Votes:
                0 Vote for this issue
                5 Start watching this issue


                • Created: