I finally found the strange loading effect. I figured I would write this
up on the off chance someone else had this problem.

I was literally seeing a 5x slowdown on SVG images I had been loading
for weeks. The problem turned out to be a true type font I had installed
on my system. (Windows XP)

Here's what happened.

  1. I installed a TTF on my system to get characters for a logo.
  2. I converted the TTF file to SVG using batik-ttf2svg.
  3. I stripped down the output to include it in an SVG file that I
     would load at the beginning of my program.
  4. I left the name of the font-family the same.

After that, whenever I loaded the file with the SVG font in it all
text on subsequent screens was slow the first time the screen loaded.

I solved the problem by uninstalling the TTF from my system.

G. Wade

"G. Wade Johnson" wrote:
> 
> I've had an odd effect show up in the last week about loading SVG files
> using Batik 1.5b5 on Windows XP.
> 
> Sometime in the last week, load times for any SVG file under Batik on
> my system seems to be at least 3x as long as before. I have verified
> that this effect does not appear to be present on a couple of other
> systems. As far as I know, the only change I've made to my system
> relating to Java/Batik has been to replace Tomcat 4.1.18 with
> Tomcat 4.1.24.
> 
> I'm running J2 SDK 1.4.1_01, and JRE 1.4.1_02.
> 
> I've seen the effect both in my Applet and in Squiggle.
> 
> After digging through my code looking for mistakes (and then
> verifying that Squiggle shows the same symptoms), I've come to the
> conclusion that I have some kind of system configuration problem.
> 
> Does anyone have any ideas about what I can check or change to fix
> this issue?
> 
> G. Wade
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to