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

Maruan Sahyoun commented on PDFBOX-2662:
----------------------------------------

Yes, the idea was that e.g. if there is a name such as Courier in the DA we 
could use that to get a Font from FontMapping by looking up the name as this is 
a valid Postscript name. Of course if the DA uses something like F0 and that is 
not defined then we'd need to default to something. Looking at the current 
mapping code there already routines which could be used. And maybe e.g. for 
AcroForms we could extend the platform fonts by adding mappings similar to how 
Acrobat handles that as outlined in PDFBOX-2661

> Implement fallback if there are no AcroForm default resources
> -------------------------------------------------------------
>
>                 Key: PDFBOX-2662
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2662
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: AcroForm
>    Affects Versions: 1.8.8, 2.0.0
>            Reporter: Maruan Sahyoun
>             Fix For: 2.1.0
>
>
> Some forms might not have a default resource (DR) entry for AcroForms or the 
> entry is incomplete. Adobe Reader can handle such situations using default 
> settings.
> We should be ably to handle such situations too.
> A sample form can be found in PDFBOX-1234, Fonts.pdf



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to