mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-15 19:05:34 +00:00
WARNING: BREAKING: REDESIGN: SetTextLineSpacing()
Redesigned function to only consider separation between the end of vertical size of one line and the beginning of next line
This commit is contained in:
@@ -52,7 +52,7 @@ int main(void)
|
||||
// Set bilinear scale filter for better font scaling
|
||||
SetTextureFilter(font.texture, TEXTURE_FILTER_BILINEAR);
|
||||
|
||||
SetTextLineSpacing(54); // Set line spacing for multiline text (when line breaks are included '\n')
|
||||
SetTextLineSpacing(20); // Set line spacing for multiline text (when line breaks are included '\n')
|
||||
|
||||
// Free codepoints, atlas has already been generated
|
||||
free(codepointsNoDups);
|
||||
|
||||
Reference in New Issue
Block a user