[
https://issues.apache.org/jira/browse/PDFBOX-2877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624507#comment-14624507
]
Maruan Sahyoun commented on PDFBOX-2877:
----------------------------------------
For the field {{Medium}} the content generated by PDFBox is this
{noformat}
0 G
0.5 0.5 213.334 20.6 re
s
/Tx BMC
q
BT
/Helv 19.027 Tf
2 4.6218 Td
(Company ) Tj
86.7179 0 Td
(Name) Tj
ET
Q
EMC
{noformat}
whereas the AP generated by Adobe is
{noformat}
0 G
0.5 0.5 213.334 20.6 re
s
/Tx BMC
q
1 1 212.334 19.6 re
W
n
0 G
BT
/Helv 14.523 Tf
0 g
2 5.4124 Td
(Company ) Tj
66.174 0 Td
(Name) Tj
ET
Q
EMC
{noformat}
Note the sizable difference for the calculated font size
> 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]