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:
- Weird issue with font, can anybody help?
- Drawing text slows down FPS dramatically
- Bitmap behind mappy map
- [A5] Show & Hide window/display Cross-Platform ?
- Change adapter un runtime
- upgrading tank war codebase to allegro 5
- Font loading crashing with Allegro 5.2
- Allegro 5.2.0 released!
- Why would al_install_audio() suddenly stop working?
- Hello, font loading keeps crashing in allegro5?
Other recent discussions:
- Performance issue regarding al_put_pixel and raycasting
- Wrapping up code in functions
- Memory leak in allegro5
- Keyboard Interrupting on Mouse Positions?
- Help using mouse events in creating a Menu
- Segmentation fault al_map_rgb
- Crash on al_get_time()
- al_mangled_main() issue OSX while creating a standalone bundle
- Problem with events
- Keyboard input