A name cut to fit a shortText. A name with a short form of its own takes it, and any other is
cut to SHORT_TEXT_MAX, so a name that fits already goes as it is.
Parameters
name: string
The full name.
shortForms: Readonly<Record<string,string>>
The short forms by full name, or by an id where the caller looks names up by id.
A name cut to fit a
shortText. A name with a short form of its own takes it, and any other is cut toSHORT_TEXT_MAX, so a name that fits already goes as it is.