The bug is fixed in Scintilla 5.1.2:
On GTK, fix the line spacing so that underscores and accents are visible for some fonts such as DejaVu Sans Mono 10.
https://www.scintilla.org/ScintillaHistory.html
No Ubuntu release seem to have a version of libqscintilla* near that great.