Why does the DejaVu Sans Mono font look different (G) Vim and Emacs?

I think the line spacing is different in both editors.

How to install a font in Vim in Emacs?

Emacs

enter image description here

.emacs:

== Default Font ==== ;; Font family (set-default-font "DejaVu Sans Mono") ;; Font size (set-face-attribute 'default nil :height 100) 

Vim

enter image description here

.vimrc:

 " set default font set guifont=DejaVu\ Sans\ Mono\ 10 
+4
source share
1 answer

The emacs GUI uses libxft to render fonts, and GVim uses gtk / pango. There may be a difference with the hinting font.

+6
source

Source: https://habr.com/ru/post/1337644/


All Articles