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:
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:
Try another font.
http://vim.wikia.com/wiki/Change_font:
In gvim, you can change the font using the Edit menu, Select Font. An alternative is to enter the command:
:set guifont=*Once you have a font you like, you want to make it the default in the future. Do
:set guifont?and Vim will display something like
guifont=Lucida_Console:h11Make a note of this string. Now put a line in your vimrc to set guifont to this value, like this:
if has('gui_running') set guifont=Lucida_Console:h11 endifNote: If there is a space in the text printed, such as
guifont=Monospace 10it will be necessary to escape the space
set guifont=Monospace\ 10
Monospace 10, which looks normal. I'm curious why gvim on grick's system looks different.
– jippie
Apr 29 '12 at 07:15
In my case:
worked to replace:
guifont=Monospace:h10
with
guifont=Monospace\ 10
similarily
set guifont=Source\ Code\ Pro\ for\ Powerline:h10
was replaced by
set guifont=Source\ Code\ Pro\ for\ Powerline\ 10
Not sure if it helps.
echo $LANGsay? – jippie Apr 28 '12 at 21:18zh_CN.UTF-8– w.core Apr 29 '12 at 17:50LANG=C gvimorLANG=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