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

John Hewson edited comment on PDFBOX-2662 at 7/7/15 6:57 AM:
-------------------------------------------------------------

Yep, this is a good point. I've been overhauling the o.a.p.pdmodel.font API 
recently to try and get it stable for 2.0. I'm working on Panose substitutions 
at the moment. We need to obtain a PDFont somehow for missing form fonts (a 
FontBoxFont is not enough), Tilman's idea of synthesising a font resource is a 
good one.

I don't think any code needs to be added to FontMapper. Everything should be 
possible via Font dictionary synthesis.


was (Author: jahewson):
Yep, this is a good point. I've been overhauling the o.a.p.pdmodel.font API 
recently to try and get it stable for 2.0. I'm working on Panose substitutions 
at the moment. We need to obtain a PDFont somehow for missing form fonts (a 
FontBoxFont is not enough), Tilman's idea of synthesising a font resource is a 
good one.

> 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