On Sun, Mar 11, 2012 at 2:50 AM, Cheer Xiao <xiaqq...@gmail.com> wrote: > 2012/2/21 DR <drdarkra...@gmail.com>: >> On Mon, Feb 20, 2012 at 7:14 AM, Fernando Lemos <fernando...@i3wm.org> wrote: >>> On Sun, Feb 19, 2012 at 11:27 AM, Fernando Lemos <fernando...@i3wm.org> >>> wrote: >>>> Hi, >>>> >>>> On Sun, Feb 19, 2012 at 7:54 AM, DR <drdarkra...@gmail.com> wrote: >>>>> If you send me the patch, I'd be glad to test it. >>>> >>>> 1/2: http://pastebin.com/Kw6srqZE >>> >>> Ugh. A revised patch that takes into account the alpha component in colors: >>> >>> 1/2: http://pastebin.com/zuyTSXKB >> >> I'm running i3 with your patch now. >> While i3 is working well with this patch, I notice some glitches. >> >> The text's width seems to be mis-calculated, resulting in window title >> being truncated even if the text string is far from filling the whole >> title bar. >> Another thing I notice is that the string seems to be truncated to a >> 'wrong' length, leaves some trailing, undisplayable characters. >> >> These glitches mainly occur if non-english characters are involved. >> >> Screenshots attached. > > Care to share how you use this patch? I have already applied the > patch, rebuilt and reinstalled i3. After skimming the code, I decided > to try > > font xft:Bitstream Vera Sans Mono 10 > > in ~/.i3/config but it failed. :'(
Hi, That's exactly how you should specify the font. :-) Check your logs, that's probably not a valid font description. After "xft:", you can specify any Pango font description. I personally use "font xft:Sans 8". Regards,