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

Tilman Hausherr commented on PDFBOX-2662:
-----------------------------------------

The font mapping that we have applies to cases where we do have the resource, 
but can't find a font file for a name. But here we don't even have the 
resource, we only have the name, e.g. /Cour. I rather think we'd need a "slush" 
resource fund that is passed as a fallback solution if a name isn't found. This 
would be needed both for rendering such a content stream, and in 
PDAppearanceString.getFont().

> 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