al_init_ttf_addon
bool al_init_ttf_addon(void)
Introduced in 5.0.0
Call this after al_init_font_addon to make al_load_font recognize .ttf and other formats supported by al_load_ttf_font.
Examples: ex_color, ex_font_justify, ex_logo, ex_synth, ex_ttf
Most helpful discussions:
- Problem with function 'al_draw_text'
- Section of Code Lagging the Program
- Shooting Ball From Rotating Bitmap
- Mouse Click Inside Timer Function
- A5 Fullscreen Vs Windowed
- al_load_bitmap question
- MOUSE question
- Mouse Activity Question
- Is using TTFs really that complicated?
- My second game, space invader simplified
Other recent discussions:
- I'm new
- Multiple threads/displays, Event handling question
- Difficulty compiling on Windows
- We must post bugs and squash them***
- Screen is cleared and a new one appears Allegro5 in C?
- A little bit of fun for family and friends
- How to call function al_draw_multiline_text?
- Allegro 5 crashes when using al_draw_bitmap inside a list container
- TTF reinitialization bug after al_shutdown_allegro
- Game Crashing and I'm not sure why?