font size is 20 (original from example, all looks correct)
font size is 10 (smaller; incorrect)
font size is 30 (bigger; also incorrect)
DrawText("Circle is moving at a constant 200 pixels/sec,\nindependently of the frame rate.", 10, 10, 20, DARKGRAY);
DrawText("Circle is moving at a constant 200 pixels/sec,\nindependently of the frame rate.", 10, 80, 10, DARKGRAY);
DrawText("Circle is moving at a constant 200 pixels/sec,\nindependently of the frame rate.", 10, 140, 30, DARKGRAY);
Issue description
Incorrect spacing between text lines when rendering text with line breaks using different font sizes.
Issue Screenshot
Code Example
I will refer to this source https://github.com/raysan5/raylib/blob/master/examples/core/core_custom_frame_control.c . So it has drawing text with "\n" inside using default font. We repeat the line 3 times:
Environment