[
https://issues.apache.org/jira/browse/PDFBOX-4812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17083304#comment-17083304
]
Tilman Hausherr edited comment on PDFBOX-4812 at 4/14/20, 2:53 PM:
-------------------------------------------------------------------
I see nothing wrong there. And no error messages from PDF.js.
There are many different ways to encode text in a PDF. Sometimes it looks easy
to understand, sometimes not.
was (Author: tilman):
I see nothing wrong there. And no error messages from PDF.js.
There are many different ways to encode text in a PDF.
> flatten can corrput PDF file
> ----------------------------
>
> Key: PDFBOX-4812
> URL: https://issues.apache.org/jira/browse/PDFBOX-4812
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 2.0.19
> Environment: Windows 7, Eclipse Neon, Java 8
> Reporter: Jean-Pascal Laux
> Priority: Major
> Attachments: Rapport de poste 10042020 P1 flattened.pdf, Rapport de
> poste 10042020 P1 original.pdf, Rapport de poste 11042020 P2 orginal.pdf,
> image-2020-04-14-16-27-34-250.png, screenshot-1.png
>
>
> Hello,
> Depend of the content of the a text field, flatten create a PDF document
> without the value of the text value and Acorbat REader gives a error message
> when it opens the document.
> I have to rewrite the field value to have a correct PDF document.
> PDField field=form.getField("Détail page 1");
> if (field!=null) field.setValue(field.getValueAsString());
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]