I have been trying to configure emacs to use JetBrains Mono font, unfortunately i can hardly understand the way emacs handles font settings, there are way too many options and stuffs going on. So i got lost and here is my current font settings -
(set-face-attribute 'default nil :family "JetBrains Mono" :height 110 :weight 'light) (set-face-attribute 'variable-pitch nil :family "JetBrains Mono" :height 1.0) (set-face-attribute 'fixed-pitch nil :family "JetBrains Mono" :height 1.0)
But this seems not as per recommended settings from the jetbrains's site -
Size: 13 Line spacing: 1.2
I don't know to relate
Size: 13, couldn't figure that out. I also failed to match the line spacing 1.2. If i use
(setq line-spacing 1.2) emacs renders lines way too separated vertically.
I am using emacs 27.1 with harfbuzz.
So if anyone has been using this font with emacs, please share your configuration or point me to some place where i can get/understand how to configure and match the recommended settings.
Thanks in advance.