Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs bad font rendering under Windows

Tags:

emacs

fonts

After some googling I found, that people recomment font Inconsolata for programming in Emacs. I installed it on Windows and Linux from here:

http://www.levien.com/type/myfonts/inconsolata.html

Here are the screenshots of the same text 1 - Linux, 2 - Windows XP SP3:

Linux

Windows

Under Windows the font is thin, unclear and is uncomfortable for reading. Is it possible to make it render it as well as on Linux?

like image 365
user4035 Avatar asked Nov 07 '12 22:11

user4035


3 Answers

Download and install Inconsolata.ttf font and install it instead of otf:

http://googlefontdirectory.googlecode.com/hg-history/fffda675769720a297f4d239e7065f751bbe655f/inconsolata/Inconsolata.ttf

It will be rendered smoothly on Windows.

like image 74
user4035 Avatar answered Sep 25 '22 09:09

user4035


Just use Consolas, it's hands down the best monospace font to use on Windows (screenshot).

(set-face-attribute 'default nil :height 115 :family "Consolas")
like image 40
Dmitry Avatar answered Sep 24 '22 09:09

Dmitry


My favorite is Source Code Pro (https://github.com/adobe-fonts/source-code-pro/releases/tag/1.017R) - again make sure to use ttf.

like image 30
joon Avatar answered Sep 22 '22 09:09

joon