You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/09/01 20:45:20 UTC

[jira] [Resolved] (PDFBOX-1959) Remove AWT Fonts

     [ https://issues.apache.org/jira/browse/PDFBOX-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Hewson resolved PDFBOX-1959.
---------------------------------
    Resolution: Fixed

Fixed by PDFBOX-2262, we used system fonts in the end.

> 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
>             Fix For: 2.0.0
>
>
> 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.3.4#6332)