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/12/03 22:42:12 UTC
[jira] [Commented] (PDFBOX-2539) [PATCH] Allow non static
FontProvider
[ https://issues.apache.org/jira/browse/PDFBOX-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14233563#comment-14233563 ]
John Hewson commented on PDFBOX-2539:
-------------------------------------
What's the point in changing:
{code}
public static PDFont createFont(COSDictionary dictionary, FontProvider fontProvider) throws IOException
{code}
to:
{code}
public static PDFont createFont(COSDictionary dictionary, FontProvider fontProvider) throws IOException
{code}
and then having every call of createFont being:
{code}
PDFontFactory.createFont(dict, null);
{code}
You're always passing null, why?
> [PATCH] Allow non static FontProvider
> -------------------------------------
>
> Key: PDFBOX-2539
> URL: https://issues.apache.org/jira/browse/PDFBOX-2539
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.0
> Reporter: simon steiner
> Attachments: fontProvider.patch
>
>
> I would like to use multiple instances of fontprovider in thread safe way
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)