If the same label (in a font different than that of the plot) is used in a series of plots, the line spacing in the first of them seems to follow the plot's font, i.e., it's considerably larger or smaller than in the remaining plots:
Setting the key spacing has no influence on this behavior. And this doesn't happen when label and plot fonts are the same.
How can that be avoided?
Here's a minimal code that produces the plots above:
set terminal png size 200,200 set label "1st line\n2nd line" font "monospace, 8" set output "1.png" plot x set output "2.png" plot x
Gnuplot 5.2 patchlevel 6, under Linux, was used.
Huh.
I can reproduce that with the gdlib png terminal, but not with the pngcairo terminal.
So the immediate workaround is to use "set term pngcairo".
I will look for a bug in the libgd terminal support.
Fixed in 5.2.8, which will be released by the end the month