rocinantealpha

reference / text

leading

Sets the space between the lines of a text from now on, as a multiple of its size: 1.5 puts the lines one and a half sizes apart, and 0 is the font's own spacing.

background 250fill 30font "Inter" size 22text "Lines of text\nat the font's own\nspacing" at 30 30leading 1.8text "Lines of text\nspaced one and\na bit sizes apart" at 220 30
what it draws: the whole window, 400 by 300
What the example of leading draws

How to write it

leading multiple

Related