.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .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[V]codepoint\f[R] in the font \f[V]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).