[ https://issues.apache.org/jira/browse/PDFBOX-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15062747#comment-15062747 ]
Marko Kattelus commented on PDFBOX-3148: ---------------------------------------- Hi tested fix with MultilineFieldsTest with changing test text {code:java} private static final String TEST_VALUE = "Lorem\nipsum\ndolor sit amet, consetetur sadipscing elitr, " + "sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam"; {code} To me it seems that something goes still wrong. > Multiline fields won't get rendered correctly if there are multiple > paragraphs in field value > --------------------------------------------------------------------------------------------- > > Key: PDFBOX-3148 > URL: https://issues.apache.org/jira/browse/PDFBOX-3148 > Project: PDFBox > Issue Type: Bug > Components: AcroForm > Affects Versions: 2.0.0 > Reporter: Marko Kattelus > Assignee: Maruan Sahyoun > Labels: Appearance > Fix For: 2.0.0 > > Attachments: PDFBox_test.pdf, test473031220671768577.pdf > > > I have problem with multiline fields in form filling. It seems that if i have > value with newlines "\n" rendering won't work correctly. Every line seems to > be rendered over previous line. > E.g. > {code} > value = "1\n2\n3\n4" > {code} > will be rendered so than every number are rendered over each other but what > I'm expecting would be something like: > {code} > 1 > 2 > 3 > 4 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org