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:
Ray 2024-04-28 23:07:21 +02:00
parent e0027eb767
commit b03c8ba945
3 changed files with 6 additions and 6 deletions

View file

@ -47,7 +47,7 @@ int main(void)
// NOTE: We define a font base size of 32 pixels tall and up-to 250 characters
Font fontTtf = LoadFontEx("resources/pixantiqua.ttf", 32, 0, 250);
SetTextLineSpacing(48); // Set line spacing for multiline text (when line breaks are included '\n')
SetTextLineSpacing(16); // Set line spacing for multiline text (when line breaks are included '\n')
bool useTtf = false;