On Sun, Mar 11, 2012 at 12:28 PM, Cheer Xiao <[email protected]> wrote: > 2012/3/11 Fernando Lemos <[email protected]>: >> On Sun, Mar 11, 2012 at 12:03 PM, Cheer Xiao <[email protected]> wrote: >>> 2012/3/11 Fernando Lemos <[email protected]>: >>>> [...snip...] >>>> 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". >>> >>> So I switched to a simpler one, "font Consolas 10". Problem still. In >>> the log there is a line >>> >>> ERROR: Could not open font xft:Consolas 10 (X error 15). Trying >>> fallback to 'fixed'. >>> >>> and far below that, just before I restart i3: >>> >>> [src/xcb.c:945] ERROR: Could not open font. X Error Code: 15 >>> >>> Weird since src/xcb.c doesn't has line 945... I also noticed that >>> i3bar disappeared too, but there is no log message related to that. >> >> src/xcb.c:945 is in i3bar/src/xcb.c (it's probably i3bar's stderr). >> >> The "xft:" prefix is only handled if your i3 is patched, which leads >> me to think that you're getting that message from an unpatched >> i3/i3bar. >> > > I did a git am: > > ~/src/i3$ git log > > commit 3389908a213b2afba75fe61c92466a08aefb24c5 > Author: Fernando Tarlá Cardoso Lemos <[email protected]> > Date: Mon Nov 14 21:39:03 2011 -0200 > > Implement Pango rendering. > > ...
Please add some logging, run i3 with full debug verbosity[1] and see if you can spot what went wrong. I can't see how the message you reported would be possible at all with the Pango patches. [1]: http://i3wm.org/docs/debugging.html Regards,
