[Geoserver-devel] Re: new gt2-main.jar (label rotation NaN protection)

Le Jeudi 8 Septembre 2005 00:26, vous avez écrit :
Hi dave,

Here's a gt2-main.jar that has a small check:

Near the bottom of "paintLineStringLabel()" in LabelCacheDefault.java

if (rotation != rotation) // IEEE def'n x=x for all x except when x is
NaN
  rotation = 0.0;
tempTransform.rotate(rotation);

Find attached jar. Please try.
1. backup your current gt2-main.jar
2. replace:
    lib/gt2-main.jar
    server/geoserver/WEB-INF/lib/gt2-main.jar
    inside your .WAR
    inside your exploded .WAR (inside tomcat)
3. restart your web container
4. try to crash it

test and see if it works...

Ok, it now works without crashing even on Linux !-)
Great fix.

dave
ps. its possible that this jar is incompatible with your version of
geoserver, but I think it should be okay.

I have got jars from svn and recompiled directly.

----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/