well, GLFont as the name suggests is not intended for SW renderer. Egon supports blitting for both renderers so it works for SW renderer too. texts are very sensitive to resizing, so even slightest resize (as in sw blit operation) i would suggest java2d for blitting texts on SW renderer
i've just tried GLFont with GL renderer and it seemed ok to me. below is the modified version of loop method in HelloWorld sample. does this work for you ?
private void loop() throws Exception {
buffer = new FrameBuffer(800, 600, FrameBuffer.SAMPLINGMODE_NORMAL);
buffer.disableRenderer(IRenderer.RENDERER_SOFTWARE);
buffer.enableRenderer(IRenderer.RENDERER_OPENGL);
GLFont glFont = GLFont.getGLFont(java.awt.Font.decode("Dialog-BOLD-12"));
while (!org.lwjgl.opengl.Display.isCloseRequested()) {
box.rotateY(0.01f);
buffer.clear(java.awt.Color.BLUE);
world.renderScene(buffer);
world.draw(buffer);
buffer.update();
glFont.blitString(buffer, "hello world", 100, 100, 20, java.awt.Color.white);
buffer.displayGLOnly();
Thread.sleep(10);
}
buffer.disableRenderer(IRenderer.RENDERER_OPENGL);
buffer.dispose();
System.exit(0);
}