summaryrefslogtreecommitdiffhomepage
path: root/examples/text/text_codepoints_loading.c
diff options
context:
space:
mode:
authorRay <[email protected]>2024-04-28 23:07:21 +0200
committerRay <[email protected]>2024-04-28 23:07:21 +0200
commitb03c8ba945a06ed1ec3d6ed7c3185e1264909323 (patch)
tree33fa74025290e51f3c74f98b2cec3db09106d339 /examples/text/text_codepoints_loading.c
parente0027eb767031bdf8f4fb688b6bf5a977c250c05 (diff)
downloadraylib-b03c8ba945a06ed1ec3d6ed7c3185e1264909323.tar.gz
raylib-b03c8ba945a06ed1ec3d6ed7c3185e1264909323.zip
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
Diffstat (limited to 'examples/text/text_codepoints_loading.c')
-rw-r--r--examples/text/text_codepoints_loading.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/text/text_codepoints_loading.c b/examples/text/text_codepoints_loading.c
index c69803c1..95a81dfc 100644
--- a/examples/text/text_codepoints_loading.c
+++ b/examples/text/text_codepoints_loading.c
@@ -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);