[EMAIL PROTECTED] wrote:

During performance tuning, I came across the issue of non Base-14 fonts
killing performance.  I have a pdf that renders in 20 seconds using the
Helvetica font but when the font is changed to a ttf file via the
userconfig.xml, the render time takes 2 minutes or more.

When you say it takes 2 minutes to render? Are you measuring performance by running from command line and thereby starting a new JVM instance with each call to FOP? If so, then it will take longer for FOP to deal with custom fonts because as you have said it has to parse the font metrics. However, it only has to do this once per JVM instance, so once FOP has been started inside a JVM and the document has been rendered once at this slower time, then subsequent runs should be much quicker.


So this would not be an issue in a servlet or embedded environment, only the first request for a document would be slow, and subsequent requests should not have this issue.

<snip/>

Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to