Hi,

I have around 1000 true type fonts in my jre/lib/fonts/ directory.

These are the following actions that take place. I need to identify which
step is taking the max amount of time.

1. In my web application I load a specific svg, build a GVT and then
display all the text elements available in it along with text boxes. This
step seems to be fast enough.

2. Then when some text is filled in the text boxes and submitted, the text
nodes in the SVG DOM are replaced with corressponding values in the DOM
and the SVG is transcoded into a JPEG and displayed. This transcoding is
the first time! This seems to take a couple of minutes ???

3. If the process is repeated with new text in the text boxes and
submitted again the text in svg is replaced and trancoded real fast, since
transcoding is happening the second time.

Now, I am guessing it could be the 1000 fonts that are being loaded and
hence the time or the transcoding takes a lot of time if it is the first
time. which of the two is the cause. Could somebody please provide me with
a solution that could speed up the process of font loading or transcoding.

thanks,
Ananth

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

Reply via email to