Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4262

HeBo font not found exception even though it's present in the system

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Not A Bug
    • 2.0.9
    • None
    • AcroForm
    • RHEL 7

    Description

      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

      Attachments

        1. .pdfbox.cache
          4 kB
          Jim Halpert
        2. field.PNG
          8 kB
          Jim Halpert
        3. font.PNG
          19 kB
          Jim Halpert
        4. page2.PNG
          12 kB
          Jim Halpert
        5. pdf.PNG
          34 kB
          Jim Halpert
        6. pdf2.PNG
          11 kB
          Jim Halpert

        Activity

          People

            Unassigned Unassigned
            anealkeshi Jim Halpert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: