Reference

XTextWidth16(3) on Linux

The text b2342db258f6, as Debian 4.0 (Etch) shipped it.

compute text width

XTextWidth16(3) on Linux now