[
https://issues.apache.org/jira/browse/PDFBOX-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14308533#comment-14308533
]
Christer Palm commented on PDFBOX-2661:
---------------------------------------
{quote}The font in your rendering is Arial{quote}
Never mind, I realize now that I do have FranklinGothic-Medium installed as
well. It just happens to look very similar to Arial or whatever the font the
Helvetica line is rendered with.
{quote}Can you attach a text file with the list of fonts which you extracted
from AcroForm.api?{quote}
Unfortunately they appear scattered throughout the binary so it's not
completely trivial.. I'll have look at it.
>From deeper analysis I know there's more than one list internally. For
>example, the shorthand names only appear in a section of code that refers to a
>limited set of font names.
> 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
> Fix For: 2.1.0
>
> Attachments: FontTest.java, Fonts.pdf, Fonts2-Filled.pdf, Fonts2.pdf,
> Franklin.png, field-filled.png, field.png, fonts2-filled.png
>
>
> 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]