Confused font path listing of "xset q" when Xserver drops font paths
@gisburn
Submitted by Roland Mainz Assigned to Xorg Project Team
Description
2005-01-10-trunk, I am getting weired output (well, the word "scary" may fit better here) in the font path line of the "xset q" output when the Xserver drops (invalid) font path elements: -- snip -- xc/programs/xset% (DISPLAY=:35 LD_LIBRARY_PATH=$PWD/../../exports/lib/ ./xset q) Keyboard Control: auto repeat: on key click percent: 0 LED mask: 00000000 Xlib: extension "XFree86-Misc" missing on display ":35.0". auto repeating keys: 00ffffffffffffff ffffffffffffffff ff00000000000000 0000000000000000 bell percent: 50 bell pitch: 400 bell duration: 100 Pointer Control: acceleration: 2/1 threshold: 4 Screen Saver: prefer blanking: yes allow exposures: yes timeout: 0 cycle: 600 Colors: default colormap: 0x20 BlackPixel: 1 WhitePixel: 0 Font Path:
PRINTER:/home/gismobile/projects/xorg/xprint_pkgtest/xprint_pkgtest20050110/bintarball_unpack/xprint/install/etc/X11/xserver/en_US/print//models/PS2PDFspooldir-GS//fonts/£PRINTER:/home/gismobile/projects/xorg/xprint_pkgtest/xprint_pkgtest20050110/bintarball_unpack/xprint/install/etc/X11/xserver/en_US/print//models/PSspooldir//fonts/¢PRINTER:/home/gismobile/projects/xorg/xprint_pkgtest/xprint_pkgtest20050110/bintarball_unpack/xprint/install/etc/X11/xserver/en_US/print//models/PSdefault//fonts//usr/X11R6/lib/X11/fonts/Type1%/usr/X11R6/lib/X11/fonts/hellas/Type1%/usr/X11R6/lib/X11/fonts/latin2/Type1!/usr/X11R6/lib/X11/fonts/truetype/usr/X11R6/lib/X11/fonts/100dpi/usr/X11R6/lib/X11/fonts/75dpi/usr/X11R6/lib/X11/fonts/URW
/usr/X11R6/lib/X11/fonts/baekmuk!/usr/X11R6/lib/X11/fonts/cyrillic&/usr/X11R6/lib/X11/fonts/hellas/100dpi%/usr/X11R6/lib/X11/fonts/hellas/75dpi/usr/X11R6/lib/X11/fonts/hellas/misc!/usr/X11R6/lib/X11/fonts/japanese
/usr/X11R6/lib/X11/fonts/latin2/misc&/usr/X11R6/lib/X11/fonts/latin5/100dpi%/usr/X11R6/lib/X11/fonts/latin5/75dpi$/usr/X11R6/lib/X11/fonts/latin5/misc%/usr/X11R6/lib/X11/fonts/latin7/75dpi/usr/X11R6/lib/X11/fonts/misc!/usr/X11R6/lib/X11/fonts/misc/sgi/usr/X11R6/lib/X11/fonts/uni,,,,,,,,,,,,,,,,,,,,,,,
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
Server does not have the DPMS Extension
-- snip --
A quick look at the process table output (% ps -ef #) shows that the Xserver was started with a valid font path: -- snip -- ps -ef | fgrep Xprt % gismobi 27212 27211 0 01:45 pts/11 00:00:01 /home/gismobile/projects/xorg/xprint_pkgtest/xprint_pkgtest20050110/bintarball_unpack/xprint/install/usr/X11R6/bin/Xprt -ac -pn -nolisten tcp -audit 4 -fp /usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/hellas/Type1,/usr/X11R6/lib/X11/fonts/latin2/Type1,/usr/X11R6/lib/X11/fonts/truetype,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/URW,/usr/X11R6/lib/X11/fonts/baekmuk,/usr/X11R6/lib/X11/fonts/cyrillic,/usr/X11R6/lib/X11/fonts/encodings,/usr/X11R6/lib/X11/fonts/hellas/100dpi,/usr/X11R6/lib/X11/fonts/hellas/75dpi,/usr/X11R6/lib/X11/fonts/hellas/misc,/usr/X11R6/lib/X11/fonts/japanese,/usr/X11R6/lib/X11/fonts/kwintv,/usr/X11R6/lib/X11/fonts/latin2/misc,/usr/X11R6/lib/X11/fonts/latin5/100dpi,/usr/X11R6/lib/X11/fonts/latin5/75dpi,/usr/X11R6/lib/X11/fonts/latin5/misc,/usr/X11R6/lib/X11/fonts/latin7/75dpi,/usr/X11R6/lib/X11/fonts/local,/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/misc/sgi,/usr/X11R6/lib/X11/fonts/uni :35 -- snip --
Steps to reproduce (I am using here a xprint test branch to make the testing less compliciated - but the same can be reproduced in Xorg trunk, too):
- Pull source from CVS: % export CVSROOT=:ext:foobar@cvs.freedesktop.org:/cvs/xorg % export CVS_RSH=ssh % cvs -z8 checkout -r xprint_packagertest_20041217 xc
- Build it: % cd xc/ % time nice -n 14 make World 2>&1 | tee -a buildlog.log
- Build binary tarball: % cd packager/tarball/ % make make_xprint_tarball % cd .. % mkdir bintarball_unpack % cd bintarball_unpack/
- Fetch and unpack generated binary tarball from /tmp : % mv /tmp/xprint_server_050111013442.tar.gz . % gunzip -c xprint_server_050111013442.tar.gz | tar -xf -
- Start Xprt server: % cd xprint/ % ./run_xprint_from_tarball.sh start
- Query the list of Xprint servers and tell "xset" to display the font path of the first entry (display=:35): % ./run_xprint_from_tarball.sh get_xpserverlist % (DISPLAY=:35 xset q)
Result: Weired font path listing.
Expected result: Correct font path listing
It may be possible (or not) that this issue is related to the detail that the Xserver drops some font path elements at startup. At startup the Xserver prints the following warnings: -- snip -- Could not init font path element /usr/X11R6/lib/X11/fonts/encodings, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/kwintv, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/local, removing from list! -- snip --
Does anyone (Egbert, Alan, Stuart, Jay etc.) have a clue what may be going wrong here ?
Version: git