The function port-string-width
returns the
width
in pixels of
string
when drawn to
port
. The font used is the
font
currently in the port's graphics-state.
To compute the horizontal extents of each successive character in a string for a given port or font, use compute-char-extents.
CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017