Optionalfont?: IProperties.ResolvableProperties<IStyledFont.Modifiers> | string | nullFont properties.
The font slot is widened to IStyledFont.Modifiers rather than derived from
IStyle.Properties, so that the font aliases (bold, italic) are accepted here but
cannot reach the stored/serialized properties.
Enable properties to be set using string shorthands.