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

Listbox /AP/N has huge font

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.18
    • Fix Version/s: None
    • Component/s: AcroForm
    • Labels:
      None

      Description

      Attached file shows a huge font in field "listBox" when value is set

              PDDocument doc = PDDocument.load(new File("Foxit_PhantomPDF.pdf"));
              PDField l = doc.getDocumentCatalog().getAcroForm().getField("listBox");
              l.setValue("Black");
              doc.save(new File("Foxit_PhantomPDF2.pdf"));
      

      May be related to DA string having variable length?

        Attachments

        1. Foxit_PhantomPDF2.pdf
          10 kB
          Tilman Hausherr
        2. Foxit_PhantomPDF.pdf
          8 kB
          Tilman Hausherr

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: