PDA

View Full Version : Which font drawing technique is optimal?



Lefteris
12-22-2010, 03:26 AM
Hello all,

In the project I am working on I am drawing text on the screen in an openGL window. It is OS-agnostic but I have a very basic question.

For this project speed is my main concern. So I have this question. Which type of font drawing is the best speed-wise?

Reading the openGL FAQ on fonts (http://www.opengl.org/resources/faq/technical/fonts.htm) it infers that using texture mapped fonts is the fastest way to go about drawing text.

The other way is to create a display list from the font and print text using glDrawPixels(). Is that always slower than texture mapped fonts or it depends on the machine?