You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Simone Rondelli (JIRA)" <ji...@apache.org> on 2016/09/27 16:04:20 UTC

[jira] [Created] (FOP-2651) Creation of CustomFontMetricsMapper using File instead InputStream

Simone Rondelli created FOP-2651:
------------------------------------

             Summary: Creation of CustomFontMetricsMapper using File instead InputStream
                 Key: FOP-2651
                 URL: https://issues.apache.org/jira/browse/FOP-2651
             Project: FOP
          Issue Type: Improvement
            Reporter: Simone Rondelli
            Priority: Minor


The constructor of {{CustomFontMetricMapper}} creates an instance of {{java.awt.Font}} using an InputStream. This led to the creation of a temp file with the content of the stream. This is repeated for every renderer for every rendering.

Passing a file would avoid the creation of such a temp file reducing the overall rendering time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)