modern-pdf-lib / setFontSizeOp
Function: setFontSizeOp()
setFontSizeOp(
fontName,size):string
Defined in: src/core/operators/text.ts:83
Set the font size only — alias for setFont when the font has already been selected.
Parameters
fontName
string
Resource name of the font.
size
number
Font size in user-space units.
Returns
string