Bug#802217: dmenu -fn doesn't change font anymore

2015-10-18 Thread Yuri D'Elia
Package: suckless-tools
Version: 41-1
Severity: normal

In the last update, dmenu doesn't seem to actually use the supplied font
argument anymore.

I was using an X11 font spec (-*-terminus-medium-*-*-*-16-*-*-*-*-*-*-*), which
stopped working.

I tried now also with some other formats (xft/etc), but I realized I can
actually supply garbage to -fn, dmenu doesn't even complain.



Bug#802217: dmenu -fn doesn't change font anymore

2015-10-18 Thread Ilias Tsitsimpis
Control: tags -1 + upstream

Hi Yuri, 

On Sun, Oct 18, 2015 at 03:49PM, Yuri D'Elia wrote:
> In the last update, dmenu doesn't seem to actually use the supplied font
> argument anymore.
> 
> I was using an X11 font spec (-*-terminus-medium-*-*-*-16-*-*-*-*-*-*-*), 
> which
> stopped working.

It seems that dmenu has stopped using the X Logical Font Description
(XLFD) format for specifying a font. Instead, it is now using the
X FreeType (XFT) format.

Can you please try the following:

  $ dmenu -fn "Terminus:size=16"

> I tried now also with some other formats (xft/etc), but I realized I can
> actually supply garbage to -fn, dmenu doesn't even complain.

You are right. dmenu doesn't complain and instead falls back to the
default font (which is monospace). I will report this upstream.

Thanks,
Ilias