You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by fritaly <fr...@hraccess.com> on 2007/03/05 15:35:00 UTC

Font setup is very slow

Hi,

I maintain a multi-threaded server responsible for generating PDF reports
with FOP. This server receives a XML file, transforms this file with XSLT
into a XSL:FO stream and then uses FOP to render this XSL:FO into a PDF
file. The XSL stylesheet is generated (by another XSL stylesheet actually),
it is not hand made.

The PDF rendering works but aith a given report to render, the "font setup"
step is really slow (it takes up to 10 minutes before rendering the first
page instead of some seconds as with other reports).

Normal step duration:
2007-01-03 12:09:37,721 [00001] INFO  - EDTTL1000 (FOP) setting up fonts
2007-01-03 12:15:39,865 [00001] INFO  - EDTTL1000 (FOP) [1]

Long step duration:
2007-01-03 15:49:08,168 [00003] INFO  - EDTTL1000 (FOP) setting up fonts
2007-01-03 16:00:08,649 [00003] INFO  - EDTTL1000 (FOP) [1]

I checked the query layout for specific features or custom fonts but found
nothing about that. Even though the server is multi-threaded, I couldn't
find a concurrency problem to explain this.

So my question is, is there something special performed during this step
that could, in some conditions, cause the step to take up to 10 minutes ?

Cheers,

François
-- 
View this message in context: http://www.nabble.com/Font-setup-is-very-slow-tf3349208.html#a9312550
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: [SPAM] Font setup is very slow

Posted by fritaly <fr...@hraccess.com>.
Yes, of course. I'm using FOP v0.20.5.
-- 
View this message in context: http://www.nabble.com/Font-setup-is-very-slow-tf3349208.html#a9327965
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Font setup is very slow

Posted by Andreas L Delmelle <a_...@pandora.be>.
On Mar 5, 2007, at 15:35, fritaly wrote:

Hi,

<snip />
>
> The PDF rendering works but with a given report to render,
> the "font setup" step is really slow (it takes up to 10 minutes
> before rendering the first page instead of some seconds as with
> other reports).

Before we go further, can you please state what FOP version you're  
using?

Thanks,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org