[
https://issues.apache.org/jira/browse/PDFBOX-4646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16926311#comment-16926311
]
Tilman Hausherr commented on PDFBOX-4646:
-----------------------------------------
The widget annotations have no appearance streams, that is why PDFBox doesn't
show them. You could call
{{doc.getDocumentCatalog().getAcroForm().refreshAppearances()}} to build them.
What really surprises me is that PDF.js shows them (although not in the correct
color), because they don't generate missing appearance streams, or so I thought.
> PDFToImage not working with certain formfields
> ----------------------------------------------
>
> Key: PDFBOX-4646
> URL: https://issues.apache.org/jira/browse/PDFBOX-4646
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.16
> Environment: macOS High Sierra v10.13.6
> Reporter: Reginald Tan
> Priority: Major
> Attachments: cd_title_description_form.pdf,
> cd_title_description_form1.jpg, cd_title_description_without_forms.pdf
>
>
> Sometimes, PDFToImage would not render the values of PDF form annotation.
> I've attached the relevant files. The command I used is listed below. Note
> that I used a custom software to generate the form annotations in the pdf,
> but I have no problems viewing/editing the form fields in adobe reader, adobe
> acrobat, firefox, chrome, so I think this might be a bug in pdfbox.
> java -jar pdfbox-app.jar PDFToImage -imageType jpg -dpi 140
> cd_title_description_form.pdf
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]