Date: Sat, 24 Jan 2015 10:47:33 -0600 From: Bigby James <bigby.james@dimthoughts.com> To: freebsd-questions@freebsd.org Cc: alpachi <alphachi@mediaspirit.org> Subject: Re: How to use two kinds of fonts in x11-wm/dwm bar? Message-ID: <20150124164733.GA1669@workbox.Home> In-Reply-To: <CAJN5%2BGvXFhRMM--U3KnehcdRWKTGXvo%2BYiKY-9YKX8-DJhwwoQ@mail.gmail.com> References: <CAJN5%2BGvXFhRMM--U3KnehcdRWKTGXvo%2BYiKY-9YKX8-DJhwwoQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> After this, I set the default font to monospace in Firefox and test - it's > ok. When I reinstall dwm, the default font of dwm changes to Terminus, but > all chars that should use Noto, like CJK chars, can't display correctly - > they display as many solid blocks. The short answer is that you can only have one font in the dwm statusline. There's a patch that allows you to use multiple TTF fonts, which a) you'll have to apply yourself using patch(1); and b) is incompatible with the XFT patch.[1] It also heavily modifies the dwm source code, so any other patches you wish to apply afterward will almost certainly have to be applied manually (using a text editor to paste in the diff). If you're seeing Terminus in the statusline after reinstalling dwm, then you likely overwrote your modified source with the default source during reinstallation. That's the only explanation I can see for your font changing to the default without you modifying the config file. [1]: http://dwm.suckless.org/patches/pango -- "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150124164733.GA1669>