reddit / emacs

Question about font settings in Emacs

curiousdoggo · 2022-10-21 04:40
I often have emacs next to my linux terminal and eventhough I have the font size set to the the same number for both, my emacs font somehow is slightly smaller for some reason. For my terminal (alacritty), the font is in size: 13 #Point Size For emacs, I have tried these two: but they just seem smaller than the 13 point size font set for my terminal. I had to set emacs' font :height to 140 or use "Liberation Mono-14" for the font size to more similar :( (set-face-attribute 'default nil :font "Liberation Mono" :height 130) (set-face-attribute 'default nil :font "Liberation Mono-13") Any tips guys?
tsengf · 2022-10-21 23:49
I'm not sure about your problem, but if you need to fine tune the size, you can specify a floating point number eg.Liberation Mono-13.5.