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

Font Manager Fails to Set StandardFont

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.8.0
    • PDModel
    • None
    • Fedora release 13 (Goddard)

    Description

      On Fedora release 13 (Goddard), FontManager fails to find either of the two enumerated standardFonts, arial or timesnewroman.

      The stack trace look something like this:

      org.apache.pdfbox.util.PDFStreamEngine - java.lang.NullPointerException
      java.lang.NullPointerException
      at org.apache.pdfbox.pdmodel.font.PDType1Font.getawtFont(PDType1Font.java:243)
      at org.apache.pdfbox.pdmodel.font.PDSimpleFont.drawString(PDSimpleFont.java:97)
      at org.apache.pdfbox.pdfviewer.PageDrawer.processTextPosition(PageDrawer.java:193)
      at org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEngine.java:509)

      Attachments

        1. pdfbox-835.FontManager.patch
          2 kB
          Kenneth Berland

        Issue Links

          Activity

            People

              lehmi Andreas Lehmkühler
              kenberland Kenneth Berland
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: