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

Ubuntu throws exceptions when fonts missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Later
    • 1.6.0
    • 1.8.5, 2.0.0
    • PDModel
    • None
    • Ubuntu 10.10

    Description

      On a plain vanilla Ubuntu 10.10 install, running
      run-all failed to render any text, and threw lots of exceptions:

      org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.getawtFont(PDTrueTypeFont.java:425)

      ...however, installing the package "ttf-mscorefonts-installer"
      made those exceptions go away.
      (ubuntu1010_output.txt shows the exceptions; ubuntu1010_try2_output.txt is a run after the extra fonts are installed)

      Might be able to fix this one by setting UNKNOWN_FONT in
      Resources/PDFBox_External_Fonts.properties, but it would seem like
      it should choose some reasonable default if it isn't set...
      shouldn't it?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sakelley Sarah Kelley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: