Reference

Xutf8TextExtents(3) on Linux

The text bc5bc7735c15, as Debian 10 (Buster) shipped it.

compute text extents

Xutf8TextExtents(3) on Linux now