[ https://issues.apache.org/jira/browse/PDFBOX-4725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr closed PDFBOX-4725. ----------------------------------- Resolution: Not A Bug Closing as this isn't a bug, rather a missing item in the PDF specification. That one does not tell the size of a list item. > Listbox /AP/N has huge font > --------------------------- > > Key: PDFBOX-4725 > URL: https://issues.apache.org/jira/browse/PDFBOX-4725 > Project: PDFBox > Issue Type: Bug > Components: AcroForm > Affects Versions: 2.0.18 > Reporter: Tilman Hausherr > Priority: Major > Attachments: Foxit_PhantomPDF.pdf, Foxit_PhantomPDF2.pdf > > > Attached file shows a huge font in field "listBox" when value is set > {code} > 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")); > {code} > May be related to DA string having variable length? -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org