al_draw_justified_text
void al_draw_justified_text(const ALLEGRO_FONT *font,
ALLEGRO_COLOR color, float x1, float x2,
float y, float diff, int flags, const char *text)
Introduced in 5.0.0
Like al_draw_text, but justifies the string to the specified area.
See also: al_draw_justified_textf, al_draw_justified_ustr
Examples: ex_font_justify
Most helpful discussions: