Mac – Font size of emacs in ubuntu

anti-aliasingemacsfontsUbuntu

I use emacs in ubuntu and I use Monaco 10 as its default font. However, the font rendering seems a bit odd compared to my gnome terminal with the same font size: It's a bit smaller and not as clear as that in the terminal. I've tried to avoid simply this with size 11 but it's too large for me.

How can I make it the same as its look in the terminal ? Any help is appreciated 🙂

UPDATE: I should tell you the above one is GUI emacs running a shell, and the below is the gnome terminal. On the right are their correspond font settings.

enter image description here

Both 100% capture with font size 10: (left: emacs, middle: terminal, right: gedit)

emacs terminal enter image description here

One more (gvim's):

gvim

I've test it with emacs -q, so there should be no other place affected my font setting.

And I've test this under:

  1. GNU Emacs 24.2.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.13) of 2012-12-13 on tales(stable);

  2. GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.13) of 2012-12-12 on tales

They are exactly the same. And here is my ./configure output, I don't know if it can help.

Also I've tried something like changing the .Xdefaults file, but it didn't make any sense.

Best Answer

Based on the images you provide, it looks like emacs is using a dark grey background and light grey fonts while the terminal has a black background and white fonts. That might explain why the one looks brighter than the other. Try setting the same colors in both and see if they still appear significantly different. The difference in size is so small I can't be sure if its not just an illusion born of the different colors.

Another thing to check is the anti-aliasing settings of both.

Related Question