Hi, I think the calculation that nlinum-mode does to guess the margin size in the absence of font width information (in emacs versions less than 25) uses the wrong bit of font information: the pixel size, rather than the font height. Trivial patch below, which fixes the problem for me. Best wishes, Christophe