[
https://issues.apache.org/jira/browse/PDFBOX-3835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
simon steiner updated PDFBOX-3835:
----------------------------------
Description:
PDDocument doc = PDDocument.load(new File(input));
PDAcroForm acroform = doc.getDocumentCatalog().getAcroForm();
if (acroform != null) {
acroform.setNeedAppearances(false);
acroform.refreshAppearances();
}
doc.save(output);
doc.close();
Text is not broken into multiple lines
was:
PDDocument doc = PDDocument.load(new File(input));
PDAcroForm acroform = doc.getDocumentCatalog().getAcroForm();
if (acroform != null) {
acroform.setNeedAppearances(false);
acroform.refreshAppearances();
}
doc.save(output);
doc.close();
Line is not broken into multiple lines
> Text not broken across lines after refreshAppearances
> -----------------------------------------------------
>
> Key: PDFBOX-3835
> URL: https://issues.apache.org/jira/browse/PDFBOX-3835
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Reporter: simon steiner
> Attachments: input.pdf
>
>
> PDDocument doc = PDDocument.load(new File(input));
> PDAcroForm acroform = doc.getDocumentCatalog().getAcroForm();
> if (acroform != null) {
> acroform.setNeedAppearances(false);
> acroform.refreshAppearances();
> }
> doc.save(output);
> doc.close();
> Text is not broken into multiple lines
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]