natiny.font.set_line_spacing
natiny.font.set_line_spacing(font, factor)
Sets how far apart the lines of this font sit, as a multiple of its natural line height.
Parameters
| Name | Type | Description |
|---|---|---|
font |
number |
Font handle from natiny.font.create |
factor |
number |
Non-negative multiplier applied to the natural line height; 1 restores it |
Example
natiny.font.set_line_spacing(font, 1.4)