[ 
https://issues.apache.org/jira/browse/PDFBOX-3461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15421521#comment-15421521
 ] 

ASF subversion and git services commented on PDFBOX-3461:
---------------------------------------------------------

Commit 1756411 from [~msahyoun] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1756411 ]

PDFBOX-3461: add handling for empty paragraphs; enhance unit tests; compare 
streams

> Improve handling of control characters when setting AcroForm field values
> -------------------------------------------------------------------------
>
>                 Key: PDFBOX-3461
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3461
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: AcroForm
>    Affects Versions: 2.0.1, 2.0.2, 2.0.3, 2.1.0
>            Reporter: Maruan Sahyoun
>            Assignee: Maruan Sahyoun
>              Labels: Appearance
>             Fix For: 2.0.3, 2.1.0
>
>         Attachments: ControlCharacters.pdf
>
>
> When filling AcroForm fields the text supplied to {{setValue}} might contain 
> control characters such as {{\n}} {{\r}}, {{\t}} and others which leads to an 
> {{ java.lang.IllegalArgumentException}} for most fonts as there is no glyph 
> to represent these.
> We could enhance the processing of the string provided to provide proper 
> replacements similar to how Adobe Acrobat handles that. 



--
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

Reply via email to