For some reason, gvim is adding one extra pixel of spacing after each character. It almost seems similar to this question, but in my case gvim does use the correct font.

I compared the same font in my terminal and gvim (see below, top = terminal, bottom = gvim, just for testing with an empty .vimrc file), the individual characters are identical (same font/width/height/..), but after each character there is an additional pixel of spacing. Any idea why this is happening and how I can fix this?

Original size:

enter image description here


enter image description here

  • What OS? Which terminal? Terminals often display at lower effective resolution than GUI....but need to know your specifics.
    – B Layer
    Aug 15 '19 at 7:31
  • Gnome terminal, Manjaro linux. I checked the same font in another text editor (Kate), and there the font looks the same as in the terminal..
    – Bart
    Aug 15 '19 at 7:39
  • Gnome is GTK based, isn't it? You're not using GTK themes (CSS) by any chance? I think that could be used to add padding to text in a specific app. But I'm really reaching with that theory.
    – B Layer
    Aug 15 '19 at 10:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.