Description of problem:
Some monospace fonts have huge inter-character spacing in gvim. E.g.,
when Nimbus Mono L is selected as the display font, this approximates
C h a r a c t e r s a r e v e r y s p r e a d o u t .
Whereas with Monospace, the result is what you'd expect:
Characters look normal.
(Hopefully I've reproduced the effect above. If not, I'll gladly
supply a screenshot.) This isn't a huge problem since there are
good-looking monospace fonts that display properly in gvim, but fixing
it would be a good thing if it's not too difficult.
If whoever gets this bug can't reproduce it, I'd be more than happy to
help troubleshoot it, since mine consistently works like this.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start gvim.
2. Switch the font to Nimbus Mono L (among others).
4. Profit! Er, look at the screen.
Intercharacter spacing is huge.
Intercharacter spacing is normal.
does this happen in every locale ? If not, what's your $LANG set to
[uckelman@scylla uckelman]$ echo $LANG
I can't try gvim in any other locales at the moment, since I'm logged
in remotely, but I'll give that a shot when I return home.
I've now tried running gvim with a few other locales (de_DE, ru_RU,
pt_BR) with the same results. This leads me to think the problem is
I too see this and find it really irritating. From what I can tell
all proportional fonts exhibit this behavior. I switched default font
to courier and I hate it.
Mine is on a 7.1 box upgraded to fedora core if it matters.
The help in gvim says of the 'guifont' option:
"Note that the fonts must be mono-spaced (all characters have the same
So you're not supposed to be able to use proportional fonts in gvim.
Which gives me an idea---could it be that gvim sees some fonts that
purport to be monospace as proportional instead?
<string>Nimbus Mono L</string>
please add to ~/.fonts.conf
1. The suggestion of adding something to my .fonts.conf in comment 6
had no noticeable affect for me.
2. I tried every monospace font I have, and found that the only one
with improper letter spacing in gvim is Nimbus Mono L. All of the
others (Andale Mono, Bitstream Vera Sans Mono, console8x16,
console8x8, Courier, Courier 10 Pitch, Courier New, Fixed, Gothic,
Lucida Typewriter, Luxi Mono, Miriam Mono, MiscFixed, Monospace) are
fine. On the other hand, Nimbus Mono L displays properly in all other
applications where I've tried it.
Hmm. This isn't much of a problem, but now I'm sort of intrigued.
What's different about this font from all the other monospace ones?
I tried the Nimbus Roman font which is a serif type font but it comes up
1- with overly wide spacing
2- As a sans-serif type font
Maybe gvim can't find the font and it is replacing with some ugly default
Occured in FC2 and is still present in FC3
It is still present in FC4 and Rawhide, but I just haven't any spare time to fix
this. I'll close this as WONTFIX now instead of having it open for ages without
any prospect of fixing it. Please reopen if you have a patch to fix it.
As of vim 6.4.007-4 in FC5, this bug is fixed.
This is simple solution :
Create below file.