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

Re: How to change default fon in Emacs21



>>"Samuli" == Samuli Suonpaa <suonpaa@iki.fi> writes:

 Samuli> First of all: How do I change the dafult font in Emacs? I used to have

 Samuli> emacs.font: -Adobe-Courier-Medium-R-Normal--11-80-100-100-M-60-ISO8859-15

 Samuli> in my .Xdefaults, but nothing happened. I am able to change font with
 Samuli> Shift-Button1, but I'm unable to save the setting.

	I am using this for my emcas X resources (works for emacs21
 with fontset support)

	manoj
Emacs*borderWidth: 2
Emacs*internalBorder: 1
Emacs*reverseVideo:off


#ifdef COLOR
Emacs*borderColor: gold
Emacs*pointerColor: OrangeRed
Emacs*cursorColor: orchid
Emacs*foreground: #28f033330000
Emacs*background: #bffffffffc00
Emacs*modeline.attributeForeground: Navy
Emacs*modeline.attributeBackground:  lightgray
! colors for menubar
Emacs*pane.menubar*foreground:  black
Emacs*pane.menubar*background:  lightgray
Emacs*popup*background:         lightgray
Emacs*menu*.foreground: RoyalBlue
Emacs*menu*.background: gold1

#endif

#ifndef COLOR
Emacs*foreground: White
Emacs*background: black
Emacs*mouse:            white
Emacs*cursor:           white
#endif

!!Emacs*font: -misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-iso10646-1

!!Emacs.font:-adobe-courier-medium-r-normal--*-120-*-*-m-*-iso8859-1
!!Emacs*pane.menubar*font:-adobe-courier-bold-r-normal--*-90-100-100-m-*-iso8859-1


!Emacs.font:-adobe-courier-medium-r-normal--12-*-*-*-m-*-iso8859-1
!Emacs.paneFont: -adobe-times-medium-r-normal--11-80-100-100-p-*-iso8859-1
!Emacs.selectionFont: -adobe-times-medium-r-normal--11-80-100-100-p-*-iso8859-1
!Emacs.pane.menubar.font:  -adobe-times-medium-r-normal--11-80-100-100-p-*-iso8859-1
!Emacs.menu*.font:  -adobe-times-medium-r-normal--11-80-100-100-p-*-iso8859-1
!Emacs.dialog*.font: -adobe-times-medium-r-normal--11-80-100-100-p-*-iso8859-1

!Emacs.font: -adobe-courier-medium-r-normal--12-*-*-*-m-*-iso10646-1
Emacs.paneFont: -adobe-times-medium-r-normal--11-80-100-100-p-*-iso10646-1
Emacs.selectionFont: -adobe-times-medium-r-normal--11-80-100-100-p-*-iso10646-1
Emacs.pane.menubar.font:  -adobe-times-medium-r-normal--11-80-100-100-p-*-iso10646-1
Emacs.menu*.font:  -adobe-times-medium-r-normal--11-80-100-100-p-*-iso10646-1
Emacs.dialog*.font: -adobe-times-medium-r-normal--11-80-100-100-p-*-iso10646-1



!! BEGIN intlfonts setup
!! By default, use 16 dots fonts
!! For small screen users (eg. 640x480 or 800x600)
Emacs.Fontset-0: -*-fixed-medium-r-normal-*-10-*-*-*-*-*-fontset-10
Emacs.Fontset-1: -*-fixed-medium-r-normal-*-12-*-*-*-*-*-fontset-12
Emacs.Fontset-2: -*-fixed-medium-r-normal-*-14-*-*-*-*-*-fontset-14
!! For meidum screen users (eg. 1024x780)
Emacs.Fontset-3: -etl-*-medium-r-normal-*-16-*-*-*-*-*-fontset-16
!! For meidum screen users (eg. 1024x780) suitable for Thai characters
Emacs.Fontset-4: -etl-*-medium-r-normal-*-18-*-*-*-*-*-fontset-18
!! For large screen users (eg. 1280x1024 or larger)
Emacs.Fontset-5: -etl-*-medium-r-normal-*-24-*-*-*-*-*-fontset-24
Emacs.Fontset-6: -adobe-courier-medium-r-normal--12-*-*-*-*-*-adobe-12
Emacs.Fontset-7: -adobe-courier-medium-r-normal--11-*-*-*-*-*-adobe-11
Emacs.Fontset-8: -adobe-courier-medium-r-normal--10-*-*-*-*-*-adobe-10
Emacs.Fontset-9: -adobe-courier-medium-r-normal--14-*-*-*-*-*-adobe-14
Emacs.font: -adobe-courier-medium-r-normal--12-*-*-*-*-*-adobe-12
!! END intlfonts setup
-- 
 I'll grant thee random access to my heart, Thoul't tell me all the
 constants of thy love; And so we two shall all love's lemmas prove
 And in our bound partition never part.  Cancel me not -- for what
 then shall remain? Abscissas, some mantissas, modules, modes, A root
 or two, a torus and a node: The inverse of my verse, a null domain.
 I see the eigenvalue in thine eye, I hear the tender tensor in thy
 sigh. Bernoulli would have been content to die Had he but known such
 a-squared cos 2(thi)! Stanislaw Lem, "Cyberiad"
Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

Reply to: