John Hewson created PDFBOX-1959:
-----------------------------------
Summary: Remove AWT Fonts
Key: PDFBOX-1959
URL: https://issues.apache.org/jira/browse/PDFBOX-1959
Project: PDFBox
Issue Type: Improvement
Components: Rendering
Affects Versions: 2.0.0
Reporter: John Hewson
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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)