[
https://issues.apache.org/jira/browse/PDFBOX-3835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16057419#comment-16057419
]
Maruan Sahyoun commented on PDFBOX-3835:
----------------------------------------
this happens as there are no break points in the value provided and PDFBox
doesn't break words apart. Could you test with a different string having spaces
in between tokens.
> 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: AcroForm
> 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]