Reference

XTextWidth16(3) on Linux

The text 51746f1916f8, as Debian 6.0 (Squeeze) shipped it.

compute text width

XTextWidth16(3) on Linux now