rougier / freetype-gl

OpenGL text using one vertex buffer, one texture and FreeType
Other
1.65k stars 266 forks source link

How can i use "\n" in my string? #206

Open MonjeambYannick opened 5 years ago

MonjeambYannick commented 5 years ago

I want to use \n to display multi line text, but it only shows a white rectangle instead of creating a new line.

rougier commented 5 years ago

Yes, escape codes are not interpreted. But there are several examples showing how to do it.

AceKiron commented 5 years ago

You can write some code to handle multiline text @MonjeambYannick.