|
Displaying fonts |
gary_ramsgate
Member #8,619
May 2007
|
I'm having problems with displaying fonts in a program i'm writing. I've written programs in the past using RHIDE and allegro and haven't had any problems displaying my own fonts, so is there anything obvious i'm missing or is it something else.
FONTS.DAT was created using grabber. |
Kris Asick
Member #1,424
July 2001
|
Try this: textout_ex(screen, (FONT*)data[slip22].dat, "NEW FONT", 10, 50,makecol(255, 255, 255), -1); When accessing datafile objects, you need to type cast and you also need to access the .dat member of the array. --- Kris Asick (Gemini) --- Kris Asick (Gemini) |
gary_ramsgate
Member #8,619
May 2007
|
Thanks for your help Kris, it now works. |
|