Reference

XTextWidth16(3x) on Linux

The text 7d06e1a99d1b, as Debian 3.0 (Woody) shipped it.

compute text width

XTextWidth16(3x) on Linux now