8.5.4 Computing Logical Extents

To compute the bounding box of an 8-bit character string in a given font, use XTextExtents().

To compute the bounding box of a 2-byte character string in a given font, use XTextExtents16().

Next: Querying Character String Sizes

Christophe Tronche, ch@tronche.com