al_destroy_font
void al_destroy_font(ALLEGRO_FONT *f)
Introduced in 5.0.0
Frees the memory being used by a font structure. Does nothing if passed NULL.
See also: al_load_font
Examples: ex_audio_props, ex_blend2, ex_color, ex_disable_screensaver, ex_display_options, ex_font, ex_font_justify, ex_gldepth, ex_logo, ex_pixelformat, ex_premulalpha, ex_synth, ex_timer, ex_ttf, ex_vsync
Most helpful discussions:
- Problem with function 'al_draw_text'
- MOUSE question
- Is using TTFs really that complicated?
- Having Trouble with exit(1) - Stalling Program
- My second game, space invader simplified
- Vivace extra points. Its there a better way of doing this one.
- I'm new
- Allegro5 and OpenGL. Problem with drawing Allegro primitives
- Is there a more efficient way to reload/resize TTF fonts?
- Program locks on exit (linux only)
Other recent discussions:
- why is my code failing
- Difficulty compiling on Windows
- Screen is cleared and a new one appears Allegro5 in C?
- A little bit of fun for family and friends
- Mouse Addon causing program crash
- Game Crashing and I'm not sure why?
- letters are rendered in their seperated form, this may require glyph hook maybe?
- Mingw do not find Allegro lib
- got a bug in my FULLSCREEN WINDOWED MODE switchout
- Weird flex with my Bitmaps on my Screen