Added Source Code Pro documentation.rst

Added a short blurb on Source Code Pro and how to make the glyphs show up.

Closes #460
This commit is contained in:
esn89 2013-04-23 08:02:39 -07:00 committed by ZyX
parent 207c24a9f5
commit 14f2beea91
1 changed files with 13 additions and 0 deletions

View File

@ -27,3 +27,16 @@ In your ``~/.Xdefault`` file add the following:
This will allow urxvt to fallback onto the Inconsolata fonts in case it does not find the right
glyths within the terminus font.
Source Code Pro font and urxvt
==============================
Much like the terminus font that was mentioned above, a similar fix can be applied to the Source Code Pro fonts.
In the ``~/.Xdefaults`` add the following:
``URxvt*font: xft:Source\ Code\ Pro\ Medium:pixelsize=13:antialias=true:hinting=true,xft:Source\ Code\ Pro\ Medium:pixelsize=13:antialias=true:hinting=true``
I noticed that Source Code Pro has the glyphs there already, but the pixel size of the fonts play a role in whether or not
the > or the < separators showing up or not. Using font size 12, glyphs on the right hand side of the powerline are present,
but the ones on the left don't. Pixel size 14, brings the reverse problem. Font size 13 seems to work just fine.