[
https://issues.apache.org/jira/browse/PDFBOX-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14233563#comment-14233563
]
John Hewson edited comment on PDFBOX-2539 at 12/3/14 9:41 PM:
--------------------------------------------------------------
What's the point in changing:
{code}
public static PDFont createFont(COSDictionary dictionary) 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?
was (Author: jahewson):
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)