Return-Path: X-Original-To: apmail-pdfbox-dev-archive@www.apache.org Delivered-To: apmail-pdfbox-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A40051820E for ; Fri, 4 Dec 2015 19:06:11 +0000 (UTC) Received: (qmail 59094 invoked by uid 500); 4 Dec 2015 19:06:11 -0000 Delivered-To: apmail-pdfbox-dev-archive@pdfbox.apache.org Received: (qmail 59006 invoked by uid 500); 4 Dec 2015 19:06:11 -0000 Mailing-List: contact dev-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list dev@pdfbox.apache.org Received: (qmail 58776 invoked by uid 99); 4 Dec 2015 19:06:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2015 19:06:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2F1392C1F6B for ; Fri, 4 Dec 2015 19:06:11 +0000 (UTC) Date: Fri, 4 Dec 2015 19:06:11 +0000 (UTC) From: "Maruan Sahyoun (JIRA)" To: dev@pdfbox.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PDFBOX-3148) Multiline fields won't get rendered correctly if there are multiple paragraphs in field value MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PDFBOX-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15042007#comment-15042007 ] Maruan Sahyoun commented on PDFBOX-3148: ---------------------------------------- [~kattelus] could you verify if the fix works for you? > 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-unsubscribe@pdfbox.apache.org For additional commands, e-mail: dev-help@pdfbox.apache.org