natiny_font_set_line_spacing
void natiny_font_set_line_spacing(NatinyFont font, float factor);
Sets how far apart the lines of this font sit, as a multiple of its natural line height.
Parameters
| Name | Type | Description |
|---|---|---|
font |
NatinyFont |
Font handle from natiny_font_create |
factor |
float |
Non-negative multiplier applied to the natural line height; 1.0f restores it |
Example
natiny_font_set_line_spacing(font, 1.4f);