help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fatal font problem with emacs


From: Peter Dyballa
Subject: Re: fatal font problem with emacs
Date: Sat, 28 Oct 2006 21:48:44 +0200


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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]