Unicode OpenGL

Started by
2 comments, last by Ademan555 16 years, 10 months ago
Can anyone point me to a Unicode text OpenGL example? Janaka
Advertisement
The only string-related functions I can think of right now in OpenGL, are glGetString and family. The return values of those functions can be simply converted using A2W-macros of whatever fits your needs.
So, am I missing something here, or are you looking for something else?
SDL_ttf can render udf and unicode texts. the result, stored in SDL_Surfaces can be used as textures in opengl
There's also

FTGL I think it supports unicode based on something i saw a while back, and the fact that it uses free type, but I don't have much evidence for that...
and
QuesoGLC States that it supports unicode and looks pretty good.

cheers
-Dan
When General Patton died after World War 2 he went to the gates of Heaven to talk to St. Peter. The first thing he asked is if there were any Marines in heaven. St. Peter told him no, Marines are too rowdy for heaven. He then asked why Patton wanted to know. Patton told him he was sick of the Marines overshadowing the Army because they did more with less and were all hard-core sons of bitches. St. Peter reassured him there were no Marines so Patton went into Heaven. As he was checking out his new home he rounded a corner and saw someone in Marine Dress Blues. He ran back to St. Peter and yelled "You lied to me! There are Marines in heaven!" St. Peter said "Who him? That's just God. He wishes he were a Marine."

This topic is closed to new replies.

Advertisement