How can I import a font file and get the pixel information of the letters so I can make my own custom text drawing function?
I basically have a pixel surface (a 2D array) and I want to draw the text to that array.
http://freetype.sourceforge.net
It allows you to load different true type font types, and get their pixel data / render them to a custom surface. Should be exactly what you want.
Last edited on