Re: [i3] Why no xft support?

  • From: Fernando Lemos <fernandotcl@xxxxxxxx>
  • To: "Discussions/Questions about the i3 window manager" <i3-discuss@xxxxxxxxxxxxx>
  • Date: Sun, 11 Mar 2012 12:10:24 -0300

On Sun, Mar 11, 2012 at 12:03 PM, Cheer Xiao <xiaqqaix@xxxxxxxxx> wrote:

2012/3/11 Fernando Lemos <fernandotcl@xxxxxxxx>:
[...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.

Regards,

Other related posts: