summaryrefslogtreecommitdiffhomepage
path: root/examples/text/text_codepoints_loading.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/text/text_codepoints_loading.c')
-rw-r--r--examples/text/text_codepoints_loading.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/text/text_codepoints_loading.c b/examples/text/text_codepoints_loading.c
index 1f3db0cf..376b4972 100644
--- a/examples/text/text_codepoints_loading.c
+++ b/examples/text/text_codepoints_loading.c
@@ -52,6 +52,8 @@ 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')
+
// Free codepoints, atlas has already been generated
free(codepointsNoDups);