Empty and populated lines have different line heights.
This seems... weird.
This is on xubuntu 20.04, Mousepad 0.4.2. I'm using the system monospace font in the screenshot, but it doesn't seem to matter which monospace font is used.
Settings in the two windows are identical. Left window has a space and carriage return on each line, right window has carriage returns only.