Reference

XTextWidth16(3) on Linux

The text 59f60d0c1531, as Debian 8 (Jessie) shipped it.

compute text width

XTextWidth16(3) on Linux now