[xep-support] Embedded XEP

David Tolpin dvd at renderx.com
Fri Jul 19 02:00:05 PDT 2002


> In our project we have XEP embedded using JNI. Our application is build in C
> and we use XEP for rendering PDF. The problem is that PDF rendering takes a
> long time using our application that has XEP embedded. If I run the same FO
> file using the command line it is much faster than running the same FO file
> using the application (The command line is approximately 4 times faster).

I'm glad it turns out to be practical. We should have prepared JNI
interfaces for our customers' use, but never had enough time to do that.

> 
> The difference is that our application creates the FO structure in memory
> using DOM, so all rendering takes place in memory.

This should not affect performance.  Things that can affect performance
is a different JVM, different GC settings etc.

> 
> How can we speed up our embedded XEP?

Is the decrease in speed distributed uniformly across formatting steps
or one particular step got much slower (you can judge that by the logger
output)?

> 
> If needed I can sent you the java code used in our application for XEP.

Well, send it to me off-list (dvd at renderx.com).

David
-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list