EMACS :: linum-mode and size of font (unreadable line numbers)

The easiest, most straightforward solution I've seen is to set the line numbers to a fixed height. This can be accomplished easily, in accordance with user78810's answer: https://unix.stackexchange.com/questions/29786/font-size-issues-with-emacs-in-linum-mode/146781#146781

To wit, add the following line in your emacs config (or to your dotspacemacs/user-config function, if you're using spacemacs):

(eval-after-load "linum"
  '(set-face-attribute 'linum nil :height 100))

M-x customize-face [RETURN] linum-mode

Have a look at these two links:

  1. my question on the same issue
  2. my workaround for this issue

It works quite well enough for my needs.

Examples:

enter image description here 1 enter image description here