The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
2

How to get i3wm font anti-aliasing?

asked 2012-07-01 16:42:20 +0000

lkraav gravatar image

updated 2012-07-02 20:08:42 +0000

joepd gravatar image

FAQ 4.2 states "i3 uses X core fonts (not Xft) for rendering window titles". My research shows antialiasing (and other visually nifty stuff) can only be achieved by coding against Xft. Am I correct in understanding that i3wm would have to be refactored to get antialiased fonts?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2012-07-01 17:06:04 +0000

Michael gravatar image

There is preliminary support for Xft fonts in i3 and i3bar in form of a patch by fernandotcl. We will have a look at merging it into i3 in the next month or so, so stay tuned ;).

edit flag offensive delete link more

Comments

Just noticed that the patch made it into the next branch. Thanks, seems to work great so far.

Klaas gravatar imageKlaas ( 2012-08-30 14:38:58 +0000 )edit

Yes, this is working great on 4.3.

lkraav gravatar imagelkraav ( 2012-10-24 13:09:55 +0000 )edit
1

answered 2012-07-02 16:14:18 +0000

Klaas gravatar image

updated 2012-07-02 16:14:42 +0000

There is a user package available for arch linux that includes a patch for pango support: http://aur.archlinux.org/packages.php...

I previously extracted the patch by fernandotcl from the mailing list and patched it myself, but recently this package came along. I'm not sure whether that's the same patch.

To use Xft you have to set the font in the i3 config like this:

font xft:Droid Sans Mono 10
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-07-01 16:42:20 +0000

Seen: 7,692 times

Last updated: Jul 02 '12