[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 <sndirsch@novell.com> 2009-11-27 20:40:47 UTC --- 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. /usr/share/fonts/Speedo, Speedo font rendering support has been dropped from X.Org some time ago. /usr/share/fonts/cyrillic, Might be still interesting for some legacy X11 applications. /usr/share/fonts/uni:unscaled, Only used by GNU unicode font. Probably only used during installation and via fontconfig. /opt/kde3/share/fonts, We no longer ship KDE3 and it's just the console font for konsole. Probably never used by any X11 legacy application. -- 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#c Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Status|NEW |ASSIGNED AssignedTo|bnc-team-xorg-bugs@forge.pr |sndirsch@novell.com |ovo.novell.com | Summary|All X fonts not available |Missing font paths in |if xorg.conf not present |config-less X Server -- 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#c2 --- Comment #2 from Stefan Dirsch <sndirsch@novell.com> 2009-11-27 21:09:12 UTC --- Created an attachment (id=329848) --> (http://bugzilla.novell.com/attachment.cgi?id=329848) missing_font_paths.diff I've added URW and cyrillic to font paths. -- 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#c3 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #3 from Stefan Dirsch <sndirsch@novell.com> 2009-11-27 21:27:46 UTC --- Fixed in X11:XOrg/xorg-x11-server and SR'ed for openSUSE:Factory. -- 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#c4 Don Raboud <don.raboud@ualberta.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |don.raboud@ualberta.ca --- Comment #4 from Don Raboud <don.raboud@ualberta.ca> 2009-11-27 21:35:42 UTC --- (In reply to comment #1)
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 <sndirsch@novell.com> 2009-11-27 23:08:51 UTC --- Well, I was affected myself, but I couldn't figure out what was wrong with the fonts for certain sizes in xfig no longer being found - *until* this bugreport. So thanks for reporting this. :-) Adding Werner as xfig maintainer, so he knows what's wrong in case somebody else notices issues with font support in xfig. Workaround is to extend the fontpath with xset ('xset fp+ /usr/share/fonts/URW'). -- 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#c6 --- Comment #6 from Don Raboud <don.raboud@ualberta.ca> 2009-11-28 04:08:32 UTC ---
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 <sndirsch@novell.com> 2009-11-28 04:50:19 UTC --- This advice might be old-fashioned (maybe you can add it to some KDE(4) autostartup scripts): ~/.xinitrc would be the right place (use ~/.xinitrc.template as a template). Hope this helps. -- 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#c8 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |foolishewe@hotmail.com --- Comment #8 from Stefan Dirsch <sndirsch@novell.com> 2010-05-29 16:25:21 UTC --- *** Bug 564336 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=564336 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=558915 https://bugzilla.novell.com/show_bug.cgi?id=558915#c9 --- Comment #9 from Stefan Dirsch <sndirsch@novell.com> 2011-04-05 00:21:23 UTC --- *** Bug 684913 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=684913 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com