Open asmodehn opened 10 years ago
The rendering has been changed and is now working either with SDL_TTF or without. This bug should have been impacted at the same time. It apprently has been fixed as Font::render("",...) renders nothing, which is the expected behavior.
Not working ^^ Only works when using the default font and not an external one which, i suppose use the FontExtend class. Try using the echelon.ttf font inside the testFont with an empty HelpMsg and see for yourself. Also i had added a workaround l:81 in this test to avoid crashing on newline (aka empty line), u will be able to remove it when this bug will be really fixed ;)
A s a side note : http://www.angelcode.com/products/bmfont/
When trying to create an RGBSurface * using the Font::render() method with an empty string ("") it will crash on run on BaseSurface::getHeight(). Render a " " solve the pb when i want to display nothing but the bug is still there.