Hey all,
I recently started working on a Console for my game and I quickly noticed that the font I was using is having trouble rendering certain escape characters ('\r', '\b' to name a few). Instead it renders the "glyph not found" square. I was wondering if it would be possible to have a way to check if a certain character is part of a font, a bit like XNA's SpriteFont.Characters which returns a collection (or vector I guess for you C++ guys) that contains a list of drawable characters.
I was also wondering about TextEntered's behavior. First of all why does it return a string instead of a char? (That's for .NET, not sure about the other libraries). Also, should this event be raised even when the entered characters are escape sequences? Stuff like backspaces, enters and the like should be handled by the KeyPress event? Of course this problem can be easily fixed with a way to verify if I font contains a certain character.
Thanks!