.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "al_get_font_line_height" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_font_line_height - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include int al_get_font_line_height(const ALLEGRO_FONT *f) \f[R] .fi .SH DESCRIPTION .PP Returns the usual height of a line of text in the specified font. For bitmap fonts this is simply the height of all glyph bitmaps. For truetype fonts it is whatever the font file specifies. In particular, some special glyphs may be higher than the height returned here. .PP If the X is the position you specify to draw text, the meaning of ascent and descent and the line height is like in the figure below. .IP .nf \f[C] X------------------------ /\[rs] | | / \[rs] | | /____\[rs] ascent | / \[rs] | | / \[rs] | height ---------------- | | | descent | | | ------------------------- \f[R] .fi .SH SEE ALSO .PP al_get_text_width(3alleg5), al_get_text_dimensions(3alleg5)