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:
- 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?
- letters are rendered in their seperated form, this may require glyph hook maybe?
Other recent discussions:
- Windows: File Selection and Clipboard broken after unicode change
- Weird flex with my Bitmaps on my Screen
- still al_draw_text() problem
- al_draw_text problem
- Quick Question about MSAA
- Need help with structs
- Getting parameter problems.
- BITMAP quality gets reduced
- Calling al_install_audio from a DLL?
- Did I skip something?