[
https://issues.apache.org/jira/browse/PDFBOX-3835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17141188#comment-17141188
]
Maruan Sahyoun commented on PDFBOX-3835:
----------------------------------------
[~sfieber] there should be a snapshot available soon which allows you to test
the word breaking for multiline text fields and long words
> 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
> Assignee: Maruan Sahyoun
> Priority: Major
> Fix For: 2.0.21, 3.0.0 PDFBox
>
> Attachments: PDFBOX-3835-input-acrobat-wrap.pdf, 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]