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