Documentation

txtfit Text Fit Mode

Enables a fit mode for the text.

Presently, only the max fit mode is supported. With no fit mode, the text will be clipped if it exceeds the contraints of the text bounds. With txtfit=max, the text will be scaled down to fit within the bounds rather than clipping the text contents. The default is to not set a fit mode.

The txtpad and txtwidth parameters are used to control the bounding region.