View Full Version : fonts on a cocoa/opengl app

09-28-2006, 02:10 PM
I'm new to both Cocoa programming and OpenGL,
I have got the task of displaying text, since this is not something built-in on OpenGL, I don't know how should I do this, for what I have read, drawing the text as textured quads you get the best performance, I need the text to be in 2D, that is, allways facing to the front, and performance is important since I may draw lot of labels out there.. and best if I can chose a font from the ones that are installed.. I would like to know if there is some tutorial or example I could see,
Many thanks!

09-29-2006, 01:59 AM
http://onesadcookie.com/svn/repos/NSViewTexture shows one way.