On Mon, Oct 19, 2015 at 11:53 AM, Ilias Tsitsimpis
<i.tsitsim...@gmail.com> wrote:
> Hi suckless team,
>
> I noticed that dmenu doesn't complain when supplied with a font that
> doesn't exist (e.g., dmenu -fn suckless).
>
> I found the following line in the code:
>
>     drw.c:134  fprintf(stderr, "error, cannot load font: '%s'\n", fontname);
>
> so I am guessing this is a bug and not the intended behavior.
>

I'm aware of this behaviour, it is "intended" as we use Xft and it's
not too bothersome.

Ofcourse you can use the fc-match program to see what font actually
will be used.

Note that dmenu will error out when no font can be loaded: if
(!drw->fontcount) in dmenu.c.

Kind regards,
Hiltjo

Reply via email to