* fatal font problem with emacs
@ 2006-10-22 2:25 BillJosephson
2006-10-22 23:41 ` Peter Dyballa
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: BillJosephson @ 2006-10-22 2:25 UTC (permalink / raw)
Hello, when I run emacs on my linux box, it opens with nonsense
characters. I get the following std errors:
> emacs markers
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
I have no idea how to proceed to get emacs working. I'm running suse
10.1 on an IBM Intellistation A Pro.
Thanks very much for any help at all.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: fatal font problem with emacs 2006-10-22 2:25 fatal font problem with emacs BillJosephson @ 2006-10-22 23:41 ` Peter Dyballa [not found] ` <mailman.137.1161560471.27805.help-gnu-emacs@gnu.org> 2006-11-02 17:59 ` IsraelMendezMartinez 2 siblings, 0 replies; 11+ messages in thread From: Peter Dyballa @ 2006-10-22 23:41 UTC (permalink / raw) Cc: help-gnu-emacs Am 22.10.2006 um 04:25 schrieb BillJosephson: > Warning: Cannot convert string Do you have X resources set for GNU Emacs? If so, why can't you set an existing font? If not: what about setting existing fonts as X ressources for GNU Emacs? Emacs*font: Emacs.dialog*.font: Emacs.pane.menubar.font: Emacs.menu*.font: Putting (setq debug-on-error t) into .emacs might show where the warning comes from ... -- Greetings Pete If all else fails read the instructions. - Donald Knuth ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <mailman.137.1161560471.27805.help-gnu-emacs@gnu.org>]
* Re: fatal font problem with emacs [not found] ` <mailman.137.1161560471.27805.help-gnu-emacs@gnu.org> @ 2006-10-23 1:48 ` BillJosephson 2006-10-23 8:55 ` Peter Dyballa [not found] ` <mailman.147.1161593726.27805.help-gnu-emacs@gnu.org> 0 siblings, 2 replies; 11+ messages in thread From: BillJosephson @ 2006-10-23 1:48 UTC (permalink / raw) Peter Dyballa wrote: > Am 22.10.2006 um 04:25 schrieb BillJosephson: > > > Warning: Cannot convert string > > Do you have X resources set for GNU Emacs? If so, why can't you set > an existing font? > > If not: what about setting existing fonts as X ressources for GNU Emacs? > > Emacs*font: > Emacs.dialog*.font: > Emacs.pane.menubar.font: > Emacs.menu*.font: > > Putting > > (setq debug-on-error t) > > into .emacs might show where the warning comes from ... > > -- > Greetings > > Pete > > If all else fails read the instructions. > - Donald Knuth Thanks, Peter. Frankly, your reply is a bit above my head. How would I know if I have X resources set for GNU Emacs? Or how to set an existing font? I've used Emacs a lot before but never configured it, nor am I much of a sysadmin.... Thanks again. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: fatal font problem with emacs 2006-10-23 1:48 ` BillJosephson @ 2006-10-23 8:55 ` Peter Dyballa [not found] ` <mailman.147.1161593726.27805.help-gnu-emacs@gnu.org> 1 sibling, 0 replies; 11+ messages in thread From: Peter Dyballa @ 2006-10-23 8:55 UTC (permalink / raw) Cc: help-gnu-emacs Am 23.10.2006 um 03:48 schrieb BillJosephson: > Thanks, Peter. Frankly, your reply is a bit above my head. How would I > know if I have X resources set for GNU Emacs? Or how to set an > existing > font? There is a file ~/.Xdefaults. It is read when X11 launches. The X resources from this file (and others for this purpose) configure the look of X clients. You know what X11 is? You are working on some BSD or Linux system? Here the command xlsfonts lists all available fonts for the configuration active. 'xset -q' shows the font path and other details of your X11 configuration. ~/.xinitrc is probably the file that sets up this configuration. -- Greetings Pete The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!" (I found it!) but "That's funny..." Isaac Asimov ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <mailman.147.1161593726.27805.help-gnu-emacs@gnu.org>]
* Re: fatal font problem with emacs [not found] ` <mailman.147.1161593726.27805.help-gnu-emacs@gnu.org> @ 2006-10-25 8:14 ` BillJosephson 2006-10-25 9:21 ` Peter Dyballa [not found] ` <mailman.228.1161768081.27805.help-gnu-emacs@gnu.org> 0 siblings, 2 replies; 11+ messages in thread From: BillJosephson @ 2006-10-25 8:14 UTC (permalink / raw) Peter Dyballa wrote: > Am 23.10.2006 um 03:48 schrieb BillJosephson: > > > Thanks, Peter. Frankly, your reply is a bit above my head. How would I > > know if I have X resources set for GNU Emacs? Or how to set an > > existing > > font? > > There is a file ~/.Xdefaults. It is read when X11 launches. The X > resources from this file (and others for this purpose) configure the > look of X clients. > > You know what X11 is? You are working on some BSD or Linux system? > Here the command xlsfonts lists all available fonts for the > configuration active. 'xset -q' shows the font path and other details > of your X11 configuration. ~/.xinitrc is probably the file that sets > up this configuration. > > -- > Greetings > > Pete > > The most exciting phrase to hear in science, the one that heralds new > discoveries, is not "Eureka!" (I found it!) but "That's funny..." > Isaac Asimov Hi Pete, thanks for responding again. xlsfonts indeed causes a long printout of what seem to be font names. xset -q indeed shows the path, /usr/NX/share/fonts,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/home/bill/.fonts I don't see .xinitrc. But, I don't know what to do with all this. Where to go next, so to speak. Thanks. Sorry for being a unix dummy. Jim ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: fatal font problem with emacs 2006-10-25 8:14 ` BillJosephson @ 2006-10-25 9:21 ` Peter Dyballa [not found] ` <mailman.228.1161768081.27805.help-gnu-emacs@gnu.org> 1 sibling, 0 replies; 11+ messages in thread From: Peter Dyballa @ 2006-10-25 9:21 UTC (permalink / raw) Cc: help-gnu-emacs Am 25.10.2006 um 10:14 schrieb BillJosephson: > I don't see .xinitrc. But, I don't know what to do with all this. > Where > to go next, so to speak. You have somewhere a template for ~/.xinitrc on your system, maybe in /etc/X11/xinit ... When the X server is launched it looks for ~/.xinitrc. If the file exists it executes it. By this means you can correct and extend the font path, set other time constants or repeat rates or acceleration for keyboard or mouse, launch useful X clients and particularly choose a Window Manager. The UNIX help system, i.e. the man and apropos (or man -k) commands, can explain more. More resources can be found on the Internet. If you don't want to learn so much, you can check the look of a font in X11 with xfd (or xfontsel) and then invoke GNU Emacs with 'emacs - fn <your choice of font> &'. Or you simply filter the output of xlsfonts. This way you can find whether the fonts reported exist on your system. If they don't, you can select another one to pass on the command line. -- Greetings Pete "A mathematician is a machine that turns coffee into theorems." ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <mailman.228.1161768081.27805.help-gnu-emacs@gnu.org>]
* Re: fatal font problem with emacs [not found] ` <mailman.228.1161768081.27805.help-gnu-emacs@gnu.org> @ 2006-10-28 18:11 ` BillJosephson 2006-10-28 19:48 ` Peter Dyballa [not found] ` <mailman.355.1162064979.27805.help-gnu-emacs@gnu.org> 0 siblings, 2 replies; 11+ messages in thread From: BillJosephson @ 2006-10-28 18:11 UTC (permalink / raw) Peter Dyballa wrote: > Am 25.10.2006 um 10:14 schrieb BillJosephson: > > > I don't see .xinitrc. But, I don't know what to do with all this. > > Where > > to go next, so to speak. > > You have somewhere a template for ~/.xinitrc on your system, maybe > in /etc/X11/xinit ... > > When the X server is launched it looks for ~/.xinitrc. If the file > exists it executes it. By this means you can correct and extend the > font path, set other time constants or repeat rates or acceleration > for keyboard or mouse, launch useful X clients and particularly > choose a Window Manager. > > The UNIX help system, i.e. the man and apropos (or man -k) commands, > can explain more. More resources can be found on the Internet. > > If you don't want to learn so much, you can check the look of a font > in X11 with xfd (or xfontsel) and then invoke GNU Emacs with 'emacs - > fn <your choice of font> &'. Or you simply filter the output of > xlsfonts. This way you can find whether the fonts reported exist on > your system. If they don't, you can select another one to pass on the > command line. > > -- > Greetings > > Pete > > "A mathematician is a machine that turns coffee into theorems." Thanks again Pete. I appreciate your help, and will try one more question. To summarize, I can control what fonts emacs wants to use, and I can check to see which fonts are on the system. By googling the terms you mention, I can learn more about how to do this. This is a great help, thanks very much. If I wish to take the approach of obtaining the fonts that emacs seems to want but can not find, where would I go for that? Again, I sure appreciate your help.... ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: fatal font problem with emacs 2006-10-28 18:11 ` BillJosephson @ 2006-10-28 19:48 ` Peter Dyballa [not found] ` <mailman.355.1162064979.27805.help-gnu-emacs@gnu.org> 1 sibling, 0 replies; 11+ messages in thread From: Peter Dyballa @ 2006-10-28 19:48 UTC (permalink / raw) Cc: help-gnu-emacs Am 28.10.2006 um 20:11 schrieb BillJosephson: > If I wish to take the approach of obtaining the fonts that emacs seems > to want but can not find, where would I go for that? Could be the "GNU Intl" fonts supply all these. It can also be that your system has already all these fonts and you just need to extend the X11 font path. I have in my .xinitrc: xset fp+ /sw/share/ghostscript/fonts/,/sw/lib/X11/fonts/applettf/,/ sw/lib/X11/fonts/msttf/,/usr/X11R6/lib/X11/fonts/bidi/,/usr/X11R6/lib/ X11/fonts/Indian/,/usr/X11R6/lib/X11/fonts/georgian-ttf/ so that with some default values I have this font path active: /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/ X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/ X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/,/sw/share/ ghostscript/fonts/,/sw/lib/X11/fonts/applettf/,/sw/lib/X11/fonts/ msttf/,/usr/X11R6/lib/X11/fonts/bidi/,/usr/X11R6/lib/X11/fonts/ Indian/,/usr/X11R6/lib/X11/fonts/georgian-ttf/ (16K names tells xfontsel). I think you don't need to sarch for the fonts GNU Emacs 'requires.' In ~/.Xdefaults you can set the defaults. These are, a bit vaguely, described in the X Resources section of the Emacs Manual, i.e. in M-x info RET m emacs RET m Resource RET. The Emacs Wiki also presents some settings, and I can present mine: !Emacs*menubar*Font: -*-lucidabright-demibold-r-*-*-11-*-*-*-*-*- iso10646-1 !Emacs*menubar.font: -*-*-*-*-*-20-*-*-*-*-*-iso10646-1 !Emacs*paneFont: -*-gill sans-bold-r-*-*-0-0-*-*-*-*-iso10646-1 !Emacs*popup.font: -*-*-*-*-*-20-*-*-*-*-*-iso10646-1 !Emacs.dialog*.font: -*-new century schoolbook-bold-r-*-*-10-*-*-*-*- *-iso10646-1 !Emacs.italic.attributeFont: -*-fixed-medium-o-*-*-*-120-*-*-*-*-*-* !Emacs.menu.attributeFont:-*-lucida-bold-r-*-sans-10-*-*-*-*-*- iso10646-1 !Emacs.menubar.font: -*-lucida-bold-i-*-*-12-*-*-*-*-*-iso10646-1 !Emacs.pane.font: -*-baskerville-semi bold-r-*-*-*-*-*-*-*-*-iso10646-1 !Emacs.paneFont: -*-chalkboard-medium-r-*-*-0-0-*-*-*-*-iso8859-1 !Emacs.selectionFont: -*-bodoni svtytwo sc itc tt-medium-r-*-*-0-0-*- *-*-*-iso8859-1 Emacs*font: -*-lucidatypewriter-medium-r-*-*-10-*-*-*-m-*-iso10646-1 Emacs.dialog*.font: -*-lucidatypewriter-bold-r-*-sans-12-*-*-*-*-*- iso10646-1 Emacs.menu*.font: -*-lucida-bold-r-*-sans-10-*-*-*-*-*-iso10646-1 Emacs.pane.menubar.font:-*-utopia-bold-r-*-*-11-*-*-*-*-*-iso10646-1 It's a mixture for/from different X environments. It's also a mixture of different ways to address the X resource (either with * or with . – I never learned this correctly). You can also the fontsets Emacs uses this way ... (some fonts look very strange/characteristic, so it's easy to recognise that this resource effects that look) -- Greetings Pete To be is to do. -- I. Kant To do is to be. -- A. Sartre Yabba-Dabba-Doo! -- F. Flintstone ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <mailman.355.1162064979.27805.help-gnu-emacs@gnu.org>]
* Re: fatal font problem with emacs [not found] ` <mailman.355.1162064979.27805.help-gnu-emacs@gnu.org> @ 2006-10-29 2:40 ` Tim X 0 siblings, 0 replies; 11+ messages in thread From: Tim X @ 2006-10-29 2:40 UTC (permalink / raw) Peter Dyballa <Peter_Dyballa@Web.DE> writes: > > To be is to do. > -- I. Kant > To do is to be. > -- A. Sartre > Yabba-Dabba-Doo! > -- F. Flintstone Do be do do be -- F. Sinatra -- tcross (at) rapttech dot com dot au ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: fatal font problem with emacs 2006-10-22 2:25 fatal font problem with emacs BillJosephson 2006-10-22 23:41 ` Peter Dyballa [not found] ` <mailman.137.1161560471.27805.help-gnu-emacs@gnu.org> @ 2006-11-02 17:59 ` IsraelMendezMartinez 2006-11-04 16:13 ` BillJosephson 2 siblings, 1 reply; 11+ messages in thread From: IsraelMendezMartinez @ 2006-11-02 17:59 UTC (permalink / raw) Hi, have you try the NX client version 2.1.0-6 with the font pakages? I have the same problem, until install the font packages, there are four: nxfont-75dpi, nxfots-100dpi, nxfonts-misc y nxfonts-others. Greetings BillJosephson wrote: > Hello, when I run emacs on my linux box, it opens with nonsense > characters. I get the following std errors: > > > emacs markers > 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 > > I have no idea how to proceed to get emacs working. I'm running suse > 10.1 on an IBM Intellistation A Pro. > > Thanks very much for any help at all. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: fatal font problem with emacs 2006-11-02 17:59 ` IsraelMendezMartinez @ 2006-11-04 16:13 ` BillJosephson 0 siblings, 0 replies; 11+ messages in thread From: BillJosephson @ 2006-11-04 16:13 UTC (permalink / raw) IsraelMendezMartinez wrote: > Hi, have you try the NX client version 2.1.0-6 with the font pakages? I > have the same problem, until install the font packages, there are four: > nxfont-75dpi, nxfots-100dpi, nxfonts-misc y nxfonts-others. > > Greetings > > BillJosephson wrote: > > Hello, when I run emacs on my linux box, it opens with nonsense > > characters. I get the following std errors: > > > > > emacs markers > > 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 > > > > I have no idea how to proceed to get emacs working. I'm running suse > > 10.1 on an IBM Intellistation A Pro. > > > > Thanks very much for any help at all. Wow, maybe this is it. I am using emacs on my linux box through NX into my laptop/windowsXP. I hope so! Thank you very much! ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2006-11-04 16:13 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-10-22 2:25 fatal font problem with emacs BillJosephson 2006-10-22 23:41 ` Peter Dyballa [not found] ` <mailman.137.1161560471.27805.help-gnu-emacs@gnu.org> 2006-10-23 1:48 ` BillJosephson 2006-10-23 8:55 ` Peter Dyballa [not found] ` <mailman.147.1161593726.27805.help-gnu-emacs@gnu.org> 2006-10-25 8:14 ` BillJosephson 2006-10-25 9:21 ` Peter Dyballa [not found] ` <mailman.228.1161768081.27805.help-gnu-emacs@gnu.org> 2006-10-28 18:11 ` BillJosephson 2006-10-28 19:48 ` Peter Dyballa [not found] ` <mailman.355.1162064979.27805.help-gnu-emacs@gnu.org> 2006-10-29 2:40 ` Tim X 2006-11-02 17:59 ` IsraelMendezMartinez 2006-11-04 16:13 ` BillJosephson
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.