You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Marko Kattelus (JIRA)" <ji...@apache.org> on 2015/12/02 12:07:10 UTC

[jira] [Updated] (PDFBOX-3148) Multiline fields won't get rendered correctly if there are multiple paragraphs in field value

     [ https://issues.apache.org/jira/browse/PDFBOX-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marko Kattelus updated PDFBOX-3148:
-----------------------------------
    Attachment: PDFBox_test.pdf

Example of template

> 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: Rendering
>    Affects Versions: 2.0.0
>            Reporter: Marko Kattelus
>         Attachments: PDFBox_test.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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org