[
https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16537076#comment-16537076
]
Maruan Sahyoun commented on PDFBOX-4262:
----------------------------------------
that error message means that the font name /HeBo is used for a specific form
field but it's not defined as part of the AcroForms default resources or the
fields font resources. Could you attach a sample form to verify that?
> HeBo font not found exception even though it's present in the system
> --------------------------------------------------------------------
>
> Key: PDFBOX-4262
> URL: https://issues.apache.org/jira/browse/PDFBOX-4262
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 2.0.9
> Environment: RHEL 7
> Reporter: Jim Halpert
> Priority: Blocker
> Attachments: .pdfbox.cache
>
>
> Throws an IO Exception without falling back to other fonts. However,
> Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache
> file.
>
>
> - Exception : ----Could not find font: /HeBo
> java.io.IOException: Could not find font: /HeBo
> at
> org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179)
> at
> org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132)
> at
> org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108)
> [^.pdfbox.cache]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]