freenode/#stumpwm - IRC Chatlog
Search
15:45:52
TeMPOraL
i'm trying to change the font in stumpwm, and after spending an hour fighting with linux font cache, i finally managed to get clx-truetype to pick the font up
15:47:12
TeMPOraL
i'm testing this with different fonts, including system ones, and all come out superthin, like ~20% of the correct width
17:11:59
fauxm
what's worse is that either clx-truetype or the ttf-fonts module hardcodes font path dirs so it doesn't work on systems (like FreeBSD) that use a different fs hierarchy
17:13:09
TeMPOraL
fauxm: clx-truetype has it technically in a special variable, but changing it didn't work until I gave up and find an apt-gettable font pack
17:13:19
TeMPOraL
I'm trying to get Hack to work, but the problem happens with any other TTF font as well
17:15:28
fauxm
I have mine set to :family "Consolas" :subfamily "Italic" :size *font-size* (*font-size* is dependent on my hostname)
17:16:37
fauxm
linux font rendering is a mess of fifty different libraries trying to half work together
18:28:53
benley
fauxm: the hardcoded font path dirs in clx-truetype has bitten me too; it makes it really hard to use on nixos
19:15:54
benley
I briefly looked into making stumpwm use cl-freetype2 (which uses CFFI bindings to the actual freetype library) instead of clx-truetype (which is native lisp but only implements like 15% of what freetype does)
19:16:33
benley
but I did not follow through with that - I don't really know CL and it would have been more time consuming than I could justify for it
20:30:28
fauxm
sometimes stumpwm will just lose a window if I'm switching between groups quickly enough
20:30:41
fauxm
seems to almost exclusively happen with my terminal emulator, although it happens with multiple terminal emulators
20:30:56
fauxm
I've had dit just up and delete a group that had a window in it without prompting whatsoever
20:50:47
fauxm
fortunately wmctrl can focus it, so I have a key bound to a command called "unfuck-window" that calls wmctrl in selection mode
20:53:19
fauxm
and there's still a lot of weird hacking and messing around (even more than X alone) you have to do with it
21:20:29
TeMPOraL
never had stumpwm lose a window permanently, but it frequently behaves as if "forgetting" about a window or (the other way) moving it, as I change groups quickly
21:21:40
TeMPOraL
(set-font (make-instance 'xft:font :family "Hack" :subfamily "Regular" :size 9 :antialias t))
21:22:16
TeMPOraL
i have the width problem with and without :antialias, for any value of :size, :family or :subfamily
21:39:57
TeMPOraL
RE font/graphics settings in linux, I wish there was a way to dump the entire runtime config of every component into a single place for review
21:40:14
TeMPOraL
it's something I recently discovered about dovecot&postfix and started to like very much
21:40:41
TeMPOraL
you can have a dozen configs changing a lot of stuff, but you can have the program dump a combined diff between what all those configs say and default values