You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2019/12/30 19:55:00 UTC
[jira] [Created] (PDFBOX-4725) Listbox /AP/N has huge font
Tilman Hausherr created PDFBOX-4725:
---------------------------------------
Summary: 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
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.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org