[ https://issues.apache.org/jira/browse/PDFBOX-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16537225#comment-16537225 ]
Jim Halpert commented on PDFBOX-4262: ------------------------------------- Are you saying to override with same name but different font? {code:java} fonts.put( PDType1Font.HELVETICA_BOLD.getBaseFont(), PDType1Font.COURIER_BOLD);{code} > 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-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org