I couldn’t find anyone else who has encountered this problem in the forums. I’m seeing some issues when using RC8 in 1.4.2_12. RC7 works fine, and both work in later versions of the JVM (tested in 1.5.0_08, 1.6.0_02). This is the exception I get with RC8 and 1.4.2_12:
java.lang.IllegalArgumentException: Negative width
at com.sun.opengl.impl.packrect.Rect.setSize(Rect.java:108)
at com.sun.opengl.impl.packrect.Rect.(Rect.java:86)
at com.sun.opengl.util.j2d.TextRenderer$Glyph.upload(TextRenderer.java:1491)
at com.sun.opengl.util.j2d.TextRenderer$Glyph.draw3D(TextRenderer.java:1427)
at com.sun.opengl.util.j2d.TextRenderer.internal_draw3D(TextRenderer.java:802)
at com.sun.opengl.util.j2d.TextRenderer.draw3D(TextRenderer.java:516)
As far as I can tell, this is only happening for strings that have a space in them ( a ’ ’ character).
Dale