gstream-set_line_spacing (3) - Linux Manuals




#include <gstream.h>

void set_line_spacing(int ls);


Sets the line spacing in pixels. The supplied value is 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 will go 16 pixels down each time a newline is encountered, effectively making the space between the lines be 4 pixels. Note that nothing prevents you from supplying a negative value which, for instance, could cause the lines to overlap.

Every time you select a new font, the gstream will call this function with 1.