View Full Version : FTGL and newline.

02-14-2006, 03:46 AM
Hi, I'm trying to use FTGL and it works great, just for a simple mater...does FTGL comes with suport for newline characters(like \n for example), or some easy method of implementing this?
I was trying to print a text like "Line one\nLine Two\nLine three", and it don't automagicly does the linefeed, so I've tried to calculate the total size of the "Line one", then seting the text acordingly on a linefeed, etc...however this is kinda messy, and memory consuming...is there any other way around?
Thanks a lot.