Draw Font from "Font Sheet"
Eric Johnson

Hello. I'd like to create a "font sheet" (like a sprite sheet, but the graphics would be letters and whatnot; a font in bitmap form), and then would like to use said font sheet as a font in games. Is there any way to do this in Allegro 5, or would I be better off making my own function for this? Do you have any experience with this sort of thing?

Thank you!


I guess you're looking for the bitmap font functionality? Specifically you want al_grab_font_from_bitmap.

Eric Johnson

That's exactly what I want!

Thanks, SiegeLord! ;D

Thread #612419. Printed from Allegro.cc