port-string-width returns the
in pixels of
when drawn to
. The font used is the
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 (Unix version) - 25 Feb 2015