[Bug 558915] New: All X fonts not available if xorg.conf not present
http://bugzilla.novell.com/show_bug.cgi?id=558915 http://bugzilla.novell.com/show_bug.cgi?id=558915#c0 Summary: All X fonts not available if xorg.conf not present Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: i586 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: don.raboud@ualberta.ca QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.15) Gecko/2009102100 SUSE/3.0.15-0.1 Firefox/3.0.15 Without an xorg.conf file present, not all of the X-fonts are available. Reproducible: Always Steps to Reproduce: 1. remove/rename xorg.conf and restart graphic system -> fonts are missing (see below) 2. init 3 -> run 'sax2 -r -m 0=nv' and simply accept proposed configuration 3. Restart graphics system -> more fonts are now available. Actual Results: After step 1, Not all x fonts available
grep -Ei 'font|freetype' /var/log/Xorg.0.log (WW) The directory "/usr/share/fonts/TTF/" does not exist. Entry deleted from font path. (WW) The directory "/usr/share/fonts/OTF" does not exist. Entry deleted from font path. (==) FontPath set to: /usr/share/fonts/misc:unscaled, /usr/share/fonts/truetype/, /usr/share/fonts/Type1/, /usr/share/fonts/100dpi:unscaled, /usr/share/fonts/75dpi:unscaled
Then for example,
xlsfonts | grep helvetica | wc -l 480
After steps 2 and 3,
grep -Ei 'font|freetype' /var/log/Xorg.0.log
< snip many warnings about "directory does not exist" > (**) FontPath set to: /usr/share/fonts/misc:unscaled, /usr/share/fonts/75dpi:unscaled, /usr/share/fonts/100dpi:unscaled, /usr/share/fonts/Type1, /usr/share/fonts/URW, /usr/share/fonts/Speedo, /usr/share/fonts/cyrillic, /usr/share/fonts/truetype, /usr/share/fonts/misc:unscaled, /usr/share/fonts/truetype/, /usr/share/fonts/Type1/, /usr/share/fonts/100dpi:unscaled, /usr/share/fonts/75dpi:unscaled
xlsfonts | grep helvetica | wc -l 988
Removing xorg.conf causes a reversion to the original behavior. Expected Results: Even without an xorg.conf file I would expect the system to still use the available X-fonts. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=558915
http://bugzilla.novell.com/show_bug.cgi?id=558915#c1
--- Comment #1 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=558915
http://bugzilla.novell.com/show_bug.cgi?id=558915#c
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=558915
http://bugzilla.novell.com/show_bug.cgi?id=558915#c2
--- Comment #2 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=558915
http://bugzilla.novell.com/show_bug.cgi?id=558915#c3
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=558915
http://bugzilla.novell.com/show_bug.cgi?id=558915#c4
Don Raboud
So what are the additional font paths when using xorg.conf created by sax2:
/usr/share/fonts/URW,
mainly used by ghostscript, but might be still interesting for some legacy X11 applications. xfig comes to my mind here.
I can confirm that xfig was affected. Thanks for the quick (<3.5 hours) fix! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=558915
http://bugzilla.novell.com/show_bug.cgi?id=558915#c5
--- Comment #5 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=558915
http://bugzilla.novell.com/show_bug.cgi?id=558915#c6
--- Comment #6 from Don Raboud
Workaround is to extend the fontpath with
xset ('xset fp+ /usr/share/fontsURW').
I hope it is ok to ask here, but would it be possible to provide a bit of guidance how to implement this workaround? I use KDE4 and I don't really know where this should go. Is there a config file that this should be in (~/.Xdefaults?). I've done some searching, but I've only found references to adding the font path to xorg.conf - which defeats the purpose - or else for systems using xfs which does not appear to be active in the default setup. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=558915
http://bugzilla.novell.com/show_bug.cgi?id=558915#c7
--- Comment #7 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=558915
http://bugzilla.novell.com/show_bug.cgi?id=558915#c8
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=558915
https://bugzilla.novell.com/show_bug.cgi?id=558915#c9
--- Comment #9 from Stefan Dirsch
participants (1)
-
bugzilla_noreply@novell.com