DOKK / manpages / debian 10 / allegro5-doc / al_get_ustr_width.3alleg5.en
al_get_ustr_width(3alleg5) al_get_ustr_width(3alleg5)

al_get_ustr_width - Allegro 5 API

#include <allegro5/allegro_font.h>
int al_get_ustr_width(const ALLEGRO_FONT *f, ALLEGRO_USTR const *ustr)
    

Like al_get_text_width(3alleg5) but expects an ALLEGRO_USTR.

al_get_text_width(3alleg5), al_get_ustr_dimensions(3alleg5)

Allegro reference manual