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

Martin Leitner updated FOP-2651:
--------------------------------
    Attachment: FOP-2651.patch

> 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
>         Attachments: FOP-2651.patch
>
>
> 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
(v10.3.26#10030026)

Reply via email to