I'm using Classic Console font in buffers. Unfortunately for some reason letter spacing is terrible in Emacs while being correct in Konsole and other programs.

Text in Emacs: Classic Console in Emacs

Text in Konsole (using the same font and size): Classic Console in Konsole

Any idea how to fix this?

  • What exactly font used in Emacs? Type C-u C-x = on any character. Compare with xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-m*' or fc-list :spacing=mono like commands. – gavenkoa Apr 2 '15 at 19:56
  • I have filling that in Konsole you use 13px font, but 12px in Emacs. – gavenkoa Apr 2 '15 at 19:58
  • How are you setting the font? Note the emacs sample use lots of different faces, some bold. If these have different width to regular letters then you will see uneven spacing. – Andrew Swann Apr 10 '15 at 7:06
  • I had the same issue and fixed it for the font called "Hack". All it took was to set the font spacing. (set-default-font "Hack-11:spacing=110") or in your case: (set-default-font "Classic Console-11:spacing=100") – Pedro Penna Oct 23 '15 at 2:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.