.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "al_get_glyph_width" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_glyph_width - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include int al_get_glyph_width(const ALLEGRO_FONT *f, int codepoint) \f[R] .fi .SH DESCRIPTION .PP This function returns the width in pixels of the glyph that corresponds with \f[C]codepoint\f[R] in the font \f[C]font\f[R]. Returns zero if the font does not have such a glyph. .SH SINCE .PP 5.1.12 .SH SEE ALSO .PP al_draw_glyph(3alleg5), al_get_glyph_dimensions(3alleg5), al_get_glyph_advance(3alleg5).