java - Slick2d drawstring draws a box, no text -
i've seen references error before no solution. where drawing text, there solid box of specified color being drawn. the code this: truetypefont font; font awtfont = new font("arial unicode ms", font.bold, 12); //name, style (plain, bold, or italic), size font = new truetypefont(awtfont, true); //base font, anti-aliasing true/false while (!display.iscloserequested() ) { render(); font.drawstring(10, 10, "abc123", color.black); //x, y, string draw, color //enable these: glenable(gl_blend); glblendfunc(gl_src_alpha, gl_one_minus_src_alpha); //render this: glpushmatrix(); bodyposition = body.getposition().mul(30); gltranslatef(position.x, position.y, 0); gl11.gldisable(gl11.gl_texture_2d); glpopmatrix();