.\" Generated by the Allegro makedoc utility .TH grab_font_from_bitmap 3alleg4 "version 4.4.2" "Allegro" "Allegro manual" .SH NAME grab_font_from_bitmap \- Grabs a font from a bitmap Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B FONT *grab_font_from_bitmap(BITMAP *bmp) .SH DESCRIPTION This function is the work-horse of load_bitmap_font, and can be used to grab a font from a bitmap in memory. You can use this if you want to generate or modify a font at runtime. The bitmap should follow the layout described for load_bitmap_font. .SH "RETURN VALUE" Returns a pointer to the font or NULL on error. Remember that you are responsible for destroying the font when you are finished with it to avoid memory leaks. .SH SEE ALSO .BR load_bitmap_font (3alleg4)