Search code examples
c++openglallegroallegro5

Drawing Text Using OpenGL and Allegro 5


How can I draw 2d text using openGL and Allegro 5 in C++? I want to be able to specify a font file to load, and not have to put all the characters into an image file by hand.


Solution

  • Use the Allegro 5 font addon.