tags:

views:

152

answers:

0

This is what I need in my game regarding text:

Word Wrap Support given a bounding box
Vertical and Horizontal alignment given a bounding box

Now, I've been reading about how to use TextLayout, and it seems possible to write all this myself but I'd prefer to think at a higher level. I just want a Label class with a signature like this:

public Label(String text, Alignment alignment, VAlignment vAlignment);

Does anyone know of an open source (non-gpl) library out there that makes text formatting simple?