• abbreviateText?-font dict? ?-break mode? ?--? string width
Return an abbreviated string that will fit in the given pixel length
specified by the width argument.
The -font option has the same
meaning as with the [getTextDimensions] command. See the
file Alpha Fonts to know how fonts are specified.
If no font is specified, the default is to use the system font at
size 10.
The -break option specifies where
the string argument should be truncated. The possible values are:
head
truncate at the start of the string
middle
truncate in the middle of the string
tail
truncate at the end of the string
The default is tail.
The '--' option indicates the end
of the options.