I've been working on a better font engine so that our GUI can support text boxes (right now, the support consists of some highly questionable draw-text procedures, which is why the "chat box" looks yucky). What I've come up with is pretty nifty. It includes:
- Text-wrapping in a given area, in the left of the screenshot
- Horizontal clipping (cutting the text between characters)
- Vertical clipping, in the top of the screenshot
In the near future, it will allow me to create text boxes that can scroll around in a block of text and it will unify the editable and static (label) processing. Additionally, it will be able to left-, center- and right- align as well as justify text.