Gday. Nothing too exciting here, just a quick addon to assist in managing text blocks. Hopefully it will save someone some time.
* Text wrapping:
- Area wrap and resize (fit to area)
- Horiztonal Wrapping
- Forced number of lines of wrap
* Text drawing alignment:
* Independent word colouring.
* Word level access to text.
You can see it in use here:
I’ve used this mainly for displaying SMSes on screen from ofxSMS: http://forum.openframeworks.cc/t/ofxsms—an-sms-interface-for-gnokii/2954/0
This code is likely to evolve over the next little while to manage multiple fonts/styles.
[updated: Now moved to Github - links updated].