pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Halpert (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-4262) HeBo font not found exception even though it's present in the system
Date Mon, 09 Jul 2018 17:00:00 GMT

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

Jim Halpert commented on PDFBOX-4262:
-------------------------------------

Just trying to understand, doing as you stated, will it use the font from the system or fallback
if not found exact font?

> 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
>              Labels: Appearance
>         Attachments: .pdfbox.cache, field.PNG, font.PNG, page2.PNG, pdf.PNG, pdf2.PNG
>
>
> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message