Take the 2-minute tour ×

I installed ubuntu 12.04 lts yesterday, and didn't change any system setting, but gvim can't get correct font display, there's too much space between character.

Screeshot :


The .gvimrc file:


share|improve this question
What does echo $LANG say? –  jippie Apr 28 '12 at 21:18
@jippie It says zh_CN.UTF-8 –  grick Apr 29 '12 at 17:50
Hmm ... can't reproduce it that way, but it is worth to try the following LANG=C gvim or LANG=en_US.UTF-8 gvim. If that works, at least we know what to look for. Take a look at the Joar's answer too, I was able to reproduce his method. –  jippie Apr 29 '12 at 18:17
add comment

1 Answer

Try another font.



:set guifont=*


:set guifont?

and Vim will display something like



if has('gui_running')
  set guifont=Lucida_Console:h11


guifont=Monospace 10

it will be necessary to escape the space

set guifont=Monospace\ 10
share|improve this answer
My font by default is Monospace 10, which looks normal. I'm curious why gvim on grick's system looks different. –  jippie Apr 29 '12 at 7:15
add comment

Your Answer


