[ https://issues.apache.org/jira/browse/PDFBOX-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13667705#comment-13667705 ]
Andrew Sengul commented on PDFBOX-1402: --------------------------------------- Above I uploaded a document to demonstrate the problem with text running off the edge of a fillable field. This document has three multiline fillable fields, titled Text1, Text2 and Text3. If you paste a long text string into one of them, you will see that instead of line-wrapping, the text will just run out of the edge of the field. Will this patch fix the problem? > Improve handling of multiline text boxes > ---------------------------------------- > > Key: PDFBOX-1402 > URL: https://issues.apache.org/jira/browse/PDFBOX-1402 > Project: PDFBox > Issue Type: Improvement > Components: PDModel > Affects Versions: 1.7.1 > Reporter: Will May > Attachments: multiLine.patch, pdf-sample-fields.pdf > > > The current implementation for setting the appearance of content that is > added to a multiline text box is incorrect in a number of ways: > * Doesn't position the start of the text in the correct location > * Incorrectly uses font size '0' instead of auto-sizing the font > * Doesn't break up very long lines > * If the font size is very large, then the next line is started too close to > the previous line. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira