Skip to content

modern-pdf-lib


modern-pdf-lib / setCharacterSpacingOp

Function: setCharacterSpacingOp()

setCharacterSpacingOp(spacing): string

Defined in: src/core/operators/text.ts:103

Set the character spacing (Tc).

Parameters

spacing

number

Extra space (in unscaled text-space units) to add between each pair of characters.

Returns

string

Released under the MIT License.