Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578738 - x11-misc/dmenu-4.6 XLFD are not supported anymore
Summary: x11-misc/dmenu-4.6 XLFD are not supported anymore
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-01 08:21 UTC by Sebastian Kricner
Modified: 2016-04-08 06:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Kricner 2016-04-01 08:21:37 UTC
The new ebuild for dmenu 4.6 just is..xxxx....

It does not use Xft anymore and messes with fonts.

dmenu_run -b -fn "-*-fixed-bold-*-*-*-18-*-*-*-*-*-*-*" -nb "#0E4D40" -nf "#ffffff"

-> Had bold font, now the font just is ..xxxxx...
Comment 1 Sebastian Kricner 2016-04-01 08:50:48 UTC
Seems it is because i was not using Xft, and fontspec worked.
With the new dmenu it does not work.
It was right to have use-flags for specifying whether to use Xft or not.
Comment 2 Jonas Stein gentoo-dev 2016-04-05 22:00:19 UTC
I could not understand the bug report completely. 
Could you describe the problem more precisely? Is there a reason, why we should assume that the problem is in the gentoo ebuild and not in the source code from upstream?
Comment 3 Sebastian Kricner 2016-04-05 23:11:43 UTC
Hi,

it seems, that XLFD are not supported anymore.
But that would be needed to check via a changelog, if available or asking the author. If you would like, i may do it.

Meanwhile i have fixed the issue by using a xft font specification, which matches the same appearance.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2016-04-07 16:51:13 UTC
I have no idea what this bug report is about.
Comment 5 Sebastian Kricner 2016-04-08 02:03:41 UTC
Well, dmenu allows to specify which font to use.
There are two main font-systems which use font-specifications in their own format: Xft and X11 XLFD

I used XLFD font specs like so:
dmenu_run -b -fn "-*-fixed-bold-*-*-*-18-*-*-*-*-*-*-*" -nb "#0E4D40" -nf "#ffffff"

Which is not working properly with the dmenu-4.6 ebuild. It´s possible, that it´s a change from upstream.

Now i fixed it by using a Xft font specification like so:

dmenu_run -b -fn "fixed:style=bold:pixelsize=18" -nb "#0E4D40" -nf "#ffffff"
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2016-04-08 06:50:53 UTC
Xft is no longer optional in 4.6.