[
https://issues.apache.org/jira/browse/PDFBOX-2333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14141626#comment-14141626
]
John Hewson commented on PDFBOX-2333:
-------------------------------------
Ok, it doesn't hurt to be mindful of downstream users who have Android ports,
as long as it's not at the expense of the actual Java library. I'm sure we can
walk that line.
AWT fonts were indeed the cause of some crashes and rendering issues, because
of the diverse range of broken fonts which we encountered. My theory is that
fonts for use in PDF fields are not going to be badly broken as the client
application needs them to be usable for form filling, which could never be done
with some of the broken fonts we've encountered.
Can a PDF actually specify an arbitrary font for form filling, or are there
restrictions? If not, does Acrobat impose some restrictions which make life
easier? I'm yet to study what the PDF spec and Adobe supplement have to say
about this.
I think IdentityH and V CMaps are probably part of my previous question: are
they allowed for form filling? Without an additional ToUnicode CMap it would
certainly be impossible.
> 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)