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

Christer Palm commented on PDFBOX-2661:
---------------------------------------

I agree. There _are_ no appearance streams for the form fields in the example 
document. Check the attached Java code.
Once you fill the form out in Acrobat and save it then perhaps they get created 
in that way (I don't have Acrobat so I can't tell). If so, that is what PDFBOX 
needs to do for PDField.setValue(), applying the specified mapping logic.
I only put the labels in to show that the mechanism is specific to AcroForm 
rendering.

> Implement font fallback for AcroForms
> -------------------------------------
>
>                 Key: PDFBOX-2661
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2661
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: AcroForm
>    Affects Versions: 1.8.8, 2.0.0
>            Reporter: Maruan Sahyoun
>         Attachments: FontTest.java, Fonts.pdf
>
>
> There are forms where the font specified in the fields default appearance is 
> not pointing to the correct fields or forms resources entry. Adobe 
> Reader/Acrobat have a (unspecified) fallback mechanism to resolve such 
> missing fonts.
> We should be ably to come up with a similar solution.
> A sample of such an issue can be found in PDFBOX-1234



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