[
https://issues.apache.org/jira/browse/PDFBOX-3835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17141187#comment-17141187
]
ASF subversion and git services commented on PDFBOX-3835:
---------------------------------------------------------
Commit 1879050 from Maruan Sahyoun in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1879050 ]
PDFBOX-3835: break long word for multiline text as suggested by Sebastian Fieber
> 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]