Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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: http://blogs.adobe.com/typblography/2012/09/source-code-pro.html

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.