8.5.5 Querying Character String Sizes

To query the server for the bounding box of an 8-bit character string in a given font, use XQueryTextExtents().

To query the server for the bounding box of a 2-byte character string in a given font, use XQueryTextExtents16().

Next: Drawing Text

Christophe Tronche, ch@tronche.com