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:
- Weird flex with my Bitmaps on my Screen
- Functions returning NULL pointers when I expect otherwise
- Draw to bitmap failing
- Client-side decorations
- how to make a game menu
- Pixel shader- how do I get the source coordinate?
- al_uninstall_system excutes a function called "shutdown" if present
- Audio seems overly complicated :(
- Install Allegro 5.2.4.1 on Win10
- VS 2017 Release & Allegro bitmaps
Other recent discussions:
- ALLEGRO_EVENT_MOUSE_ENTER_DISPLAY fired outside edge of display
- A question regarding how Allegro draws text
- Getting keystrokes for display high scores
- Bitmap behind mappy map
- [A5] Show & Hide window/display Cross-Platform ?
- Hello, font loading keeps crashing in allegro5?
- Wrapping up code in functions
- Memory leak in allegro5
- Keyboard Interrupting on Mouse Positions?
- Crash on al_get_time()