From 14f2beea91dbd1a329bb43fabe9ca910abf269c0 Mon Sep 17 00:00:00 2001 From: esn89 Date: Tue, 23 Apr 2013 08:02:39 -0700 Subject: [PATCH] Added Source Code Pro documentation.rst Added a short blurb on Source Code Pro and how to make the glyphs show up. Closes #460 --- docs/source/tips-and-tricks.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/source/tips-and-tricks.rst b/docs/source/tips-and-tricks.rst index 83ae0ea5..42a3a317 100644 --- a/docs/source/tips-and-tricks.rst +++ b/docs/source/tips-and-tricks.rst @@ -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.