Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 384685

Summary: Xorg fonts should warn about needing a re-login
Product: Gentoo Linux Reporter: Siim Ainsaar <ainsaar>
Component: [OLD] UnspecifiedAssignee: Gentoo X packagers <x11>
Severity: enhancement CC: nikoli, openhs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 384521    

Description Siim Ainsaar 2011-09-27 16:50:59 UTC
There should be a warning at the end of the installation and uninstallation of Xorg fonts: they need a re-login, if they are going to be used in non-fontconfig applications.

To see the difference before and after re-login:

emerge -C media-fonts/font-adobe-100dpi
emerge -1 media-fonts/font-bitstream-100dpi
  (this is because of bug 384649 to regerenerate fonts.{scale,dir})
Log out of X
Log in
emerge -1 media-fonts/font-adobe-100dpi
xlsfonts -fn '-*-helvetica-bold-r-normal--*-*-100-100-*-*-*-*'
  (I see:
  I don't know where the leftovers are from.)
Log out of X
Log in
xlsfonts -fn '-*-helvetica-bold-r-normal--*-*-100-100-*-*-*-*'
  (I see many more fonts listed.)

Expected result:

the emerging of media-fonts/font-adobe-100dpi should have reminded me to re-login. Without doing it, games-board/xboard fails to start (bug 384521). So, I propose to add an ewarn to xorg-2.eclass.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2011-10-02 23:09:45 UTC
$ xset fp rehash
Comment 2 Siim Ainsaar 2011-10-03 12:01:24 UTC
Sweet! This probably cannot be automatized as emerge may be run from outside an X, but a warning should still be added to xorg-2.eclass, into setup_fonts(), I suppose.
Comment 3 Larry the Git Cow gentoo-dev 2018-05-26 20:30:43 UTC
The bug has been closed via the following commit(s):

commit 053b9d09dda24d2968c31c52d6898e62183f1fc4
Author:     Matt Turner <>
AuthorDate: 2018-05-26 20:02:27 +0000
Commit:     Matt Turner <>
CommitDate: 2018-05-26 20:29:46 +0000

    xorg-2.eclass: Notify users to run 'xset fp rehash' when fonts change

 eclass/xorg-2.eclass | 2 ++
 1 file changed, 2 insertions(+)