[ 
https://issues.apache.org/jira/browse/FOP-2242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13642251#comment-13642251
 ] 

Luis Bernardo commented on FOP-2242:
------------------------------------

FOP works with FO, not with XML and XSL. FOP can receive as input XML and XSL 
but that is provided as a convenience feature and any performance issue should 
be reported with FO. In any case, I do not see a performance difference 
generating PDF from your XML and XSL, or generating first FO and then PDF form 
that. Commenting out the svg:text in the FO led to a better time (as expected) 
but the difference was not significative.

What time differences do you measure in the very slow versus very fast? 
                
> PDF generation is very slow when document contains svg:text
> -----------------------------------------------------------
>
>                 Key: FOP-2242
>                 URL: https://issues.apache.org/jira/browse/FOP-2242
>             Project: Fop
>          Issue Type: Bug
>          Components: fonts, pdf, svg
>    Affects Versions: 1.1
>         Environment: linux x86_64 (OpenSUSE 12.2)
>            Reporter: Thomas Mitterfellner
>              Labels: fonts, pdf, svg, text
>         Attachments: fo_style.xsl, test.xml
>
>
> PDF generation is very slow when the document contains svg:text elements. 
> When I remove the svg:text elements, the pdf generation is very fast.
> I attached the xml and xsl files to test the behavior. When lines 314-343 are 
> commented out (svg:text elements), pdf generation is quick. 
> Note: a single svg:text element is sufficient to slow down the generation 
> process.
> If there is any further information I should provide in order to tackle this 
> problem, I'll try to provide it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to