Text Rotation
txt-rotate
The txt-rotate parameter rotates a text layer about its own center. Use it for corner ribbons, diagonal sale banners and angled watermark text.
The value is a number of degrees from 0 to 360, measured clockwise. Values outside that range are clamped, which has one consequence worth knowing: txt-rotate=-15 clamps to 0, it does not mean 345. To rotate counter-clockwise, subtract from 360 yourself and pass txt-rotate=345.
The whole layer turns together: the glyphs, the background box, the outline and the shadow. Rotation happens after the layer is positioned, so txt-align still places the layer’s unrotated center.
The typesetting endpoint ignores txt-rotate.



