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

Remove AWT Fonts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • Rendering
    • None

    Description

      Since PDFBOX-1844 added the Type 1 font parser, there is no need to use AWT any more for font rendering. We should remove all calls to AWT string drawing methods.

      However, before we can do this we need to ship a set of standard 14 fonts with PDFBox as currently the system fonts are being used via AWT. We also need to provide a mechanism for the user to supply their own external fonts for cases where embedded fonts are missing.

      The main question is, what fonts should we ship? Some of the "free" fonts I've seen render very poorly, any suggestions? Furthermore, are there fonts under more restrictive licenses which we could ship? Apache does allow for such files to be part of a project under certain conditions.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jahewson John Hewson
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: