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

Maruan Sahyoun commented on PDFBOX-2333:
----------------------------------------

AcroForm with SimpleText fields, ASF licensed, to show some basic issues we 
have today

- regular text is fine although shifted a little to the right when compared to 
Acrobat (the fields named -filled)
- multiline text works as long as the text has correct line feeds. For the 
sample text, where no line feeds are within the sentence no wrapping occurs

Now in order to implement this correctly we also need to take rtl languages and 
languages such as Thai into account to get line break opportunities computed.

> Overhaul the apperance generation for PDF forms
> -----------------------------------------------
>
>                 Key: PDFBOX-2333
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2333
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: AcroForm
>            Reporter: Maruan Sahyoun
>             Fix For: 2.0.0
>
>         Attachments: AcroForms-SimpleTextFields.1.8.7.pdf, 
> AcroForms-SimpleTextFields.1.8.7.png, AcroForms-SimpleTextFields.pdf
>
>
> The appearance handling for forms in 1.x is limited and does not reflect all 
> settings possible for form fields. In addition the current code is not very 
> modular and does not follow the box model used for form fields. 
> Unfortunately only the basics of form handling are defined in the PDF spec. 
> The details like padding of boxes, text placement etc. have to be determined 
> by looking at how Adobe forms are generated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to