Text Width
txt-width
The width (in pixels) to restrict the width of the text to.
The default value is calculated by the width of the output image, minus any padding on the left and right.
If the text exceeds the value of txt-width
, it will be clipped on a per-character basis; the maximum number of characters that will fit in the specified width will be displayed. The location of the clipping is determined by the value of the txt-clip
parameter.
Please note:
txt-width
is currently not supported on the
~text
endpoint.