Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I downloaded the Source Sans Pro font and install on my Fedora17(Xfce). I did mkfontscale, mkfontdir, fc-cache -fv, and after fc-list, could see it on the list.

Then I changed guifont in gvim to Source\ Sans\ Pro\ 10, but it looks quite strange. And then I changed it to DejaVu\ Sans\ Mono\ 10, it looks nothing strange.

So, why would this happend? And how to solve it? Thanks!

Source\ Sans\ Pro\ 10 Source Sans Pro

DejaVu\ Sans\ Mono\ 10 DejaVu Sans Mono

share|improve this question
which is which? – Journeyman Geek Oct 19 '12 at 9:54
@JourneymanGeek First is Source Sans Pro – abcdabcd987 Oct 19 '12 at 10:27
up vote 3 down vote accepted

I believe gvim has a problem with non-monospaced fonts, rendering each character on some kind of grid, thus making it a bit like monospaced. Usually it looks pretty bad, as in this case.

My best advice is to use a true monospaced font. I think Adobe makes a great one, similar to Source Sans Pro, it's called Source Code Pro, check this out:

share|improve this answer
DevaVu Sans Mono is, of course, monospaced. That's why it look good. – Piotr Kempa Oct 19 '12 at 10:35
Thanks a lot. I wanted to use Source Code Pro but mistook the name with Source Sans Pro – abcdabcd987 Oct 19 '12 at 10:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .