set_line_spacing(3)

πŸ“¦ version 1.6, in fedora 43, fedora 44

✨ set_line_spacing ✨

okay bestie, welcome to the gstream manual β€” this one's about set_line_spacing(3), and it's genuinely so simple it's giving iconic πŸ’…


🌸 SYNOPSIS 🌸

#include <gstream.h>

void set_line_spacing(int ls);

like, that's it. one function, one int, no drama πŸŽ€


πŸ’– DESCRIPTION πŸ’–

So this bad boy sets the line spacing β€” in pixels, no cap. Here's the tea: the value you hand it gets added to the height of the font. So if your font is 12 pixels high and you call this function with 4, then the outputter is gonna go 16 pixels down every single time it hits a newline. Which means the actual space between your lines ends up being 4 pixels. math is mathing ✨

⚠️ and listen β€” nothing, and I mean nothing, is stopping you from passing a negative value. Which, for instance, could make your lines literally overlap. not me manifesting cursed typography 😭 you've been warned, bestie.

Also super important: every time you select a new font, gstream will call this function with 1. every. single. time. it's automatic, it's lowkey the default behavior, that's just how it is πŸ¦‹


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page, bestie!! this came to you straight from the gstream manual, version 1.6 β€” set_line_spacing(3), periodt. mwah πŸ«ΆπŸ’–

πŸ“¦ where this page comes from