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

Maruan Sahyoun commented on PDFBOX-2877:
----------------------------------------

I made some progress and the results using an Arial font are much better. The 
results using the Courier font are still a lot apart from the Adobe generated 
results so it looks like depending on the available metrics of the font such as 
BBox, ascender, descender ... are not enough. Will continue to investigate and 
post my findings. For the moment I will generate some more testing material as 
to ensure that we have a better coverage for different fonts.

> Wrong text placement for autosize fields compared to Adobe generated
> --------------------------------------------------------------------
>
>                 Key: PDFBOX-2877
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2877
>             Project: PDFBox
>          Issue Type: Sub-task
>          Components: AcroForm
>    Affects Versions: 1.8.9, 2.0.0
>            Reporter: Maruan Sahyoun
>            Assignee: Maruan Sahyoun
>              Labels: Appearance
>             Fix For: 2.0.0
>
>         Attachments: AutosizeTests-filled-20150713.pdf, 
> AutosizeTests-filled-20150713.png, AutosizeTests.pdf
>
>
> When a field uses autosizing the generated appearance is wrong as
> - the text is placed lower than expected
> - the font size is too large
> compared to the appearance generated with Adobe tools



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to