Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542154 - x11-base/xorg-server-1.17.1-r1 breaks custom Files sections in /etc/X11/xorg.conf.d/
Summary: x11-base/xorg-server-1.17.1-r1 breaks custom Files sections in /etc/X11/xorg....
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-04 17:17 UTC by gentoo-user
Modified: 2015-03-06 18:37 UTC (History)
1 user (show)

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


Attachments
Xorg.0.log (Xorg.0.log,18.12 KB, text/plain)
2015-03-06 14:39 UTC, gentoo-user
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo-user 2015-03-04 17:17:37 UTC
After upgrading from x11-base/xorg-server-1.17.1 to x11-base/xorg-server-1.17.1-r1,
X stopped correctly rendering terminus in certain applications (mainly dmenu and sxiv).
I include the fonts directory for terminus with /etc/X11/xorg.conf.d/11-fonts.conf which contains:

Section "Files"
	FontPath	"/usr/share/fonts/terminus/"
EndSection

Manually adding the FontPath with `xset +fp /usr/share/fonts/terminus; xset fp rehash' does not fix the issue.

Downgrading to x11-base/xorg-server-1.17.1 and restarting X fixes terminus font rendering.


Reproducible: Always

Steps to Reproduce:
1. Upgrade to x11-base/xorg-server-1.17.1-r1
2. Restart X11
3. FontPaths added in Files sections in /etc/X11/xorg.conf.d stop working correctly
Actual Results:  
Applications using the terminus font start displaying white squares instead of the text they should be displaying.

Expected Results:  
Applications using the terminus font display the text they should be displaying.

Note: this appears to only happen when using terminus as a regular x font,
ie with '-*-terminus-*-*-*-*-*-*-*-*-*-*-*-*', and does not occur when using
terminus as an xft font with 'xft:Terminus'. Also, terminus appears to display fine
in rxvt-unicode. Eg when launched as `urxvt -fn '-*-terminus-*-r-*-*-12-*-*-*-*-*-*-*''.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-03-06 05:59:02 UTC
Xorg.0.log, please.
Comment 2 gentoo-user 2015-03-06 14:39:31 UTC
Created attachment 398240 [details]
Xorg.0.log

Attached Xorg.0.log output
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-03-06 14:55:49 UTC
[    59.163] (**) FontPath set to:
	/usr/share/fonts/terminus/,
	/usr/share/fonts/misc/

Looks fine. Is that with broken xorg-server version or after downgrade?
Comment 4 gentoo-user 2015-03-06 16:14:18 UTC
Broken. I can attach the Xorg.0.log after downgrading if you want.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-03-06 17:00:58 UTC
Yes, I would appreciate that, for good comparison.
Comment 6 gentoo-user 2015-03-06 18:37:08 UTC
While downgrading xorg-server, I noticed that Xorg.0.log didn't have the
"FontPath set to [..]" lines, so I decided to investigate further and noticed
that the applications that were supposed to be using terminus as an x font (as
opposed to xft) were using fallback fonts instead. This clued me in to that the
problem didn't actually lie with the xorg-server update but rather with the
terminus-font-4.39-r1 update (which didn't manifest until I restarted X after
the xorg-server update).

In short:
Problem does not lie with the x11-base/xorg-server update. After ironing out
the issues with terminus, setting FontPath in a Files section in
/etc/X11/xorg.conf.d works.
Sorry for the noise.