Emacs broken after auto-install, but working after manual install
Hello, If I install from DVD manually (i.e. creating partitions and selecting software by hand etc...) emacs within X works fine. However, if I use my autoinstall script to install SuSE over NFS, emacs starts ok in X, but each character is replaced with a square/rectangle. Also, the following is printed to either stdout or stderr: ============================================================ stg-opti2:~ # emacs Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct stg-opti2:~ # ============================================================ As I said, emacs works fine if I install manually. Am I simply missing some packages, or has something more serious happened here? I have typed "xlsfonts | grep helv" and nothing is returned, but if I look in the Font Installer within YaST the fonts do appear to exist. Whether they are strictly the correct ones or not is a different matter though. Any clues are very much appreciated :-) Thanks again, Richard. -- Richard Hobbs (Systems Administrator) Toshiba Research Europe Ltd. - Speech Technology Group Web: http://www.toshiba-europe.com/research/ Normal Email: richard.hobbs@crl.toshiba.co.uk Mobile Email: mobile@mongeese.co.uk Tel: +44 1223 376964 Mobile: +44 7811 803377 _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com
On Monday 20 February 2006 16:36, Richard Hobbs wrote:
============================================================ stg-opti2:~ # emacs Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct stg-opti2:~ # ============================================================
As I said, emacs works fine if I install manually.
Am I simply missing some packages, or has something more serious happened here?
Not sure if this is the problem but do you have xorg-x11-fonts-75dpi and/or xorg-x11-fonts-100dpi installed? -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
Hello, "xorg-x11-fonts-100dpi" doesn't appear to be an available package from within YaST, but "xorg-x11-fonts-75dpi" is installed. Here's some useful info: ============================================================ host8:~ # rpm -qa | grep -i font | sort agfa-fonts-2003.03.19-15 efont-unicode-0.4.2-6 fontconfig-2.3.2.20050721-10 fontconfig-32bit-2.3.2.20050721-10 fontconfig-devel-2.3.2.20050721-10 fonts-config-20041001-9 ghostscript-fonts-other-8.15rc1-29 ghostscript-fonts-std-8.15rc1-29 xorg-x11-fonts-75dpi-6.8.2-100 xorg-x11-fonts-scalable-6.8.2-100 host8:~ # ============================================================ And just for comparison, here is the same command executed on a machine that was built manually from DVD: ============================================================ host3:~ # rpm -qa | grep -i font | sort agfa-fonts-2003.03.19-15 efont-unicode-0.4.2-6 fontconfig-2.3.2.20050721-10 fontconfig-32bit-2.3.2.20050721-10 fontconfig-devel-2.3.2.20050721-10 fonts-config-20041001-9 free-ttf-fonts-1.0-161 ghostscript-fonts-other-8.15rc1-29 ghostscript-fonts-std-8.15rc1-29 xorg-x11-fonts-75dpi-6.8.2-100 xorg-x11-fonts-scalable-6.8.2-100 host3:~ # ============================================================ "Ah", you may say, "install the 'free-ttf-fonts' package!", but I've tried this, and it doesn't help. I've even tried rebooting just in case there's some font server somewhere that needs restarting, and emacs still loads up with rectangle characters. Thanks again for any suggestions you may have :-) Richard. -- Richard Hobbs (Systems Administrator) Toshiba Research Europe Ltd. - Speech Technology Group Web: http://www.toshiba-europe.com/research/ Normal Email: richard.hobbs@crl.toshiba.co.uk Mobile Email: mobile@mongeese.co.uk Tel: +44 1223 376964 Mobile: +44 7811 803377
-----Original Message----- From: Uwe Gansert [mailto:ug@suse.de] Sent: 20 February 2006 16:16 To: suse-autoinstall@suse.com Subject: Re: [suse-autoinstall] Emacs broken after auto-install, but working after manual install
On Monday 20 February 2006 16:36, Richard Hobbs wrote:
============================================================ stg-opti2:~ # emacs Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct stg-opti2:~ # ============================================================
As I said, emacs works fine if I install manually.
Am I simply missing some packages, or has something more serious happened here?
Not sure if this is the problem but do you have xorg-x11-fonts-75dpi and/or xorg-x11-fonts-100dpi installed?
-- ciao, Uwe Gansert
Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
_____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com
_____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com
On Monday 20 February 2006 17:36, Richard Hobbs wrote:
"xorg-x11-fonts-100dpi" doesn't appear to be an available package from within YaST, but "xorg-x11-fonts-75dpi" is installed.
do you have: FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" in /etc/X11/xorg.conf ? For example here it looks like this: ... Section "Files" FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/local" FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled" FontPath "... ... Then you should try to run: "/usr/sbin/fonts-config --force" as root, to generate a new fonts.dir file in the FontPath dirs. Or let "SuSEconfig --module fonts" run. After that do "xset fp rehash" or restart the X Server. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
Hello, The only lines containing the string "FontPath" from "/etc/X11/xorg.conf" are here: ... Section "Files" FontPath "/usr/X11R6/lib/X11/fonts/truetype/" FontPath "/usr/X11R6/lib/X11/fonts/URW/" FontPath "/usr/X11R6/lib/X11/fonts/uni/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" ... As you can see, there are only 4 of them, and none of them have colons in them. However, after adding the line you suggested, it seems to have been fixed! :-) To stay consistent, however, I have added the line without the word "unscaled". Should I add this word? The line exactly as I had added it is here: ... FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" ... Thanks again, Richard. -- Richard Hobbs (Systems Administrator) Toshiba Research Europe Ltd. - Speech Technology Group Web: http://www.toshiba-europe.com/research/ Normal Email: richard.hobbs@crl.toshiba.co.uk Mobile Email: mobile@mongeese.co.uk Tel: +44 1223 376964 Mobile: +44 7811 803377
-----Original Message----- From: Uwe Gansert [mailto:ug@suse.de] Sent: 20 February 2006 17:12 To: suse-autoinstall@suse.com Subject: Re: [suse-autoinstall] Emacs broken after auto-install, but working after manual install
On Monday 20 February 2006 17:36, Richard Hobbs wrote:
"xorg-x11-fonts-100dpi" doesn't appear to be an available package from within YaST, but "xorg-x11-fonts-75dpi" is installed.
do you have:
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
in /etc/X11/xorg.conf ? For example here it looks like this:
... Section "Files" FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/local" FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled" FontPath "... ...
Then you should try to run: "/usr/sbin/fonts-config --force" as root, to generate a new fonts.dir file in the FontPath dirs. Or let "SuSEconfig --module fonts" run. After that do "xset fp rehash" or restart the X Server.
-- ciao, Uwe Gansert
Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
_____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com
_____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com
participants (2)
-
Richard Hobbs
-
Uwe Gansert