SFML community forums
General => Feature requests => Topic started by: dk123 on November 07, 2014, 04:40:12 am
-
Hi, I'm seeing that SFML currently doesn't have an option to
specifically set the spacing between lines in pixels for text.
This would be great for making small adjustments to text
to make it display better on screen.
(Instead of perhaps the lines too far apart, or too cramped up
top-bottom to each other)
-
Although SFML doesn't provide this, it uses the line spacing defined by the font, so modifying the font file should be an option.
-
http://en.sfml-dev.org/forums/index.php?topic=16451.0
Since we already more or less agreed on letter spacing, I think we can get line spacing done as well ;)
-
Although SFML doesn't provide this, it uses the line spacing defined by the font, so modifying the font file should be an option.
While possible, I feel doing that is terribly inconvenient. Especially if you want to make small adjustments, check how it looks like on screen, and iterate the process until you feel it's just right.
http://en.sfml-dev.org/forums/index.php?topic=16451.0
Since we already more or less agreed on letter spacing, I think we can get line spacing done as well ;)
Thanks, this is great to hear! :)
-
In the meantime, you can split your text into one instance per line, and adjust their vertical spacing.