.\" This manpage content is licensed under Creative Commons .\" Attribution 4.0 International (CC BY 4.0) .\" https://creativecommons.org/licenses/by/4.0/ .\" This manpage was generated from SDL_ttf's wiki page for TTF_GlyphMetrics32: .\" https://wiki.libsdl.org/SDL_ttf/TTF_GlyphMetrics32 .\" Generated with SDL/build-scripts/wikiheaders.pl .\" revision 3~git20240320~6e260a2+ds-1 .\" Please report issues in this manpage's content at: .\" https://github.com/libsdl-org/sdlwiki/issues/new .\" Please report issues in the generation of this manpage from the wiki at: .\" https://github.com/libsdl-org/SDL/issues/new?title=Misgenerated%20manpage%20for%20TTF_GlyphMetrics32 .\" SDL_ttf can be found at https://libsdl.org/projects/SDL_ttf .de URL \$2 \(laURL: \$1 \(ra\$3 .. .if \n[.g] .mso www.tmac .TH TTF_GlyphMetrics32 3 "SDL_ttf 3.0.0" "SDL_ttf" "SDL_ttf3 FUNCTIONS" .SH NAME TTF_GlyphMetrics32 \- Query the metrics (dimensions) of a font's 32-bit glyph\[char46] .SH SYNOPSIS .nf .B #include \(dqSDL3_ttf/SDL_ttf.h\(dq .PP .BI "int TTF_GlyphMetrics32(TTF_Font *font, Uint32 ch, .BI "int *minx, int *maxx, .BI "int *miny, int *maxy, int *advance); .fi .SH DESCRIPTION To understand what these metrics mean, here is a useful link: https://freetype\[char46]sourceforge\[char46]net/freetype2/docs/tutorial/step2\[char46]html This is the same as .BR TTF_GlyphMetrics (), but takes a 32-bit character instead of 16-bit, and thus can query a larger range\[char46] If you are sure you'll have an SDL_ttf that's version 2\[char46]0\[char46]18 or newer, there's no reason not to use this function exclusively\[char46] .SH FUNCTION PARAMETERS .TP .I font the font to query\[char46] .TP .I ch the character code to check\[char46] .SH AVAILABILITY This function is available since SDL_ttf 3\[char46]0\[char46]0\[char46]