unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Font and Window Size in emacs
Date: Sun, 31 Jul 2005 17:50:37 +0200	[thread overview]
Message-ID: <ef4d1eec5dc0d6a4c6f773b8307632a1@Web.DE> (raw)
In-Reply-To: <11eprddrb82kd83@corp.supernews.com>


Am 31.07.2005 um 17:26 schrieb Joe Hesse:

> Hi,
> I am using emacs under Linux.  I have two questions.
>
> 1.  When I press the shift key and left mouse button I get a font 
> selection
> menu.  How can I make my choice of 14 pt Courier permanent without 
> issuing
> the command each time?

Define some more fonts and fontsets à la:

(setq x-fixed-font-alist
    '("X11 Font Menu"
       ("Misc fixed"
;; For these, we specify the pixel height and width.
        ("«ProFont»" "»ProFont«")
        ("ISO 10646-1" 
"-misc-profontwindows-medium-r-normal--0-*-*-*-m-*-iso10646-1" "ISO 
10646-1")
        ("ISO 8859-15" 
"-misc-profontwindows-medium-r-normal--0-*-*-*-m-*-iso8859-15" "ISO 
8859-15")
        ("fcd 8859-15" 
"-misc-profontwindows-medium-r-normal--0-*-*-*-m-*-fcd8859-15" "fcd 
8859-15")
        ("ISO 8859-9"  
"-misc-profontwindows-medium-r-normal--0-*-*-*-m-*-iso8859-9"  "ISO 
8859-9")
        ("ISO 8859-1"  
"-misc-profontwindows-medium-r-normal--0-*-*-*-m-*-iso8859-1"  "ISO 
8859-1")
        ("ASCII-0"     
"-misc-profontwindows-medium-r-normal--0-*-*-*-m-*-ascii-0"    
"ASCII-0")
       ("Courier @ 75 DPI"
;; For these, we specify the point height and the DPIs.
        ( "8" 	      
	"-adobe-courier-medium-r-normal--*-80-75-75-m-*-iso10646-1"   "8")
        ("10" 	      
	"-adobe-courier-medium-r-normal--*-100-75-75-m-*-iso10646-1" "10")
        ("12" 	      
	"-adobe-courier-medium-r-normal--*-120-75-75-m-*-iso10646-1" "12")
        ("14" 	      
	"-adobe-courier-medium-r-normal--*-140-75-75-m-*-iso10646-1" "14")
        ("18" 	      
	"-adobe-courier-medium-r-normal--*-180-75-75-m-*-iso10646-1" "18")
        ("24" 	      
	"-adobe-courier-medium-r-normal--*-240-75-75-m-*-iso10646-1" "24")
        ( "8 bold"       
"-adobe-courier-bold-r-normal--*-80-75-75-m-*-iso10646-1"   "8 bold")
        ("10 bold"       
"-adobe-courier-bold-r-normal--*-100-75-75-m-*-iso10646-1" "10 bold")
        ("12 bold"       
"-adobe-courier-bold-r-normal--*-120-75-75-m-*-iso10646-1" "12 bold")
        ("14 bold"       
"-adobe-courier-bold-r-normal--*-140-75-75-m-*-iso10646-1" "14 bold")
        ("18 bold"       
"-adobe-courier-bold-r-normal--*-180-75-75-m-*-iso10646-1" "18 bold")
        ("24 bold"       
"-adobe-courier-bold-r-normal--*-240-75-75-m-*-iso10646-1" "24 bold")
        ( "8 slant"      
"-adobe-courier-medium-o-normal--*-80-75-75-m-*-iso10646-1"   "8 
slant")
        ("10 slant"      
"-adobe-courier-medium-o-normal--*-100-75-75-m-*-iso10646-1" "10 
slant")
        ("12 slant"      
"-adobe-courier-medium-o-normal--*-120-75-75-m-*-iso10646-1" "12 
slant")
        ("14 slant"      
"-adobe-courier-medium-o-normal--*-140-75-75-m-*-iso10646-1" "14 
slant")
        ("18 slant"      
"-adobe-courier-medium-o-normal--*-180-75-75-m-*-iso10646-1" "18 
slant")
        ("24 slant"      
"-adobe-courier-medium-o-normal--*-240-75-75-m-*-iso10646-1" "24 
slant")
        ( "8 bold slant" 
"-adobe-courier-bold-o-normal--*-80-75-75-m-*-iso10646-1"   "8 bold 
slant")
        ("10 bold slant" 
"-adobe-courier-bold-o-normal--*-100-75-75-m-*-iso10646-1" "10 bold 
slant")
        ("12 bold slant" 
"-adobe-courier-bold-o-normal--*-120-75-75-m-*-iso10646-1" "12 bold 
slant")
        ("14 bold slant" 
"-adobe-courier-bold-o-normal--*-140-75-75-m-*-iso10646-1" "14 bold 
slant")
        ("18 bold slant" 
"-adobe-courier-bold-o-normal--*-180-75-75-m-*-iso10646-1" "18 bold 
slant")
        ("24 bold slant" 
"-adobe-courier-bold-o-normal--*-240-75-75-m-*-iso10646-1" "24 bold 
slant")
       )
       ("Courier @ 100 DPI"
;; For these, we specify the point height and the DPIs.
        ( "8" 	      
	"-adobe-courier-medium-r-normal--*-80-100-100-m-*-iso10646-1"   "8")
        ("10" 	      
	"-adobe-courier-medium-r-normal--*-100-100-100-m-*-iso10646-1" "10")
        ("12" 	      
	"-adobe-courier-medium-r-normal--*-120-100-100-m-*-iso10646-1" "12")
        ("14" 	      
	"-adobe-courier-medium-r-normal--*-140-100-100-m-*-iso10646-1" "14")
        ("18" 	      
	"-adobe-courier-medium-r-normal--*-180-100-100-m-*-iso10646-1" "18")
        ("24" 	      
	"-adobe-courier-medium-r-normal--*-240-100-100-m-*-iso10646-1" "24")
        ( "8 bold"       
"-adobe-courier-bold-r-normal--*-80-100-100-m-*-iso10646-1"   "8 bold")
        ("10 bold"       
"-adobe-courier-bold-r-normal--*-100-100-100-m-*-iso10646-1" "10 bold")
        ("12 bold"       
"-adobe-courier-bold-r-normal--*-120-100-100-m-*-iso10646-1" "12 bold")
        ("14 bold"       
"-adobe-courier-bold-r-normal--*-140-100-100-m-*-iso10646-1" "14 bold")
        ("18 bold"       
"-adobe-courier-bold-r-normal--*-180-100-100-m-*-iso10646-1" "18 bold")
        ("24 bold"       
"-adobe-courier-bold-r-normal--*-240-100-100-m-*-iso10646-1" "24 bold")
        ( "8 slant"      
"-adobe-courier-medium-o-normal--*-80-100-100-m-*-iso10646-1"   "8 
slant")
        ("10 slant"      
"-adobe-courier-medium-o-normal--*-100-100-100-m-*-iso10646-1" "10 
slant")
        ("12 slant"      
"-adobe-courier-medium-o-normal--*-120-100-100-m-*-iso10646-1" "12 
slant")
        ("14 slant"      
"-adobe-courier-medium-o-normal--*-140-100-100-m-*-iso10646-1" "14 
slant")
        ("18 slant"      
"-adobe-courier-medium-o-normal--*-180-100-100-m-*-iso10646-1" "18 
slant")
        ("24 slant"      
"-adobe-courier-medium-o-normal--*-240-100-100-m-*-iso10646-1" "24 
slant")
        ( "8 bold slant" 
"-adobe-courier-bold-o-normal--*-80-100-100-m-*-iso10646-1"   "8 bold 
slant")
        ("10 bold slant" 
"-adobe-courier-bold-o-normal--*-100-100-100-m-*-iso10646-1" "10 bold 
slant")
        ("12 bold slant" 
"-adobe-courier-bold-o-normal--*-120-100-100-m-*-iso10646-1" "12 bold 
slant")
        ("14 bold slant" 
"-adobe-courier-bold-o-normal--*-140-100-100-m-*-iso10646-1" "14 bold 
slant")
        ("18 bold slant" 
"-adobe-courier-bold-o-normal--*-180-100-100-m-*-iso10646-1" "18 bold 
slant")
        ("24 bold slant" 
"-adobe-courier-bold-o-normal--*-240-100-100-m-*-iso10646-1" "24 bold 
slant")
       )
.... many, many more ....
))
(provide 'site-fonts-x11)


(if (fboundp 'new-fontset)
   (progn
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;; Monotype Courier New - Unicode encoded TrueType font, version 
2.82, 1318 glyphs
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
     (create-fontset-from-fontset-spec "-monotype-courier 
new-medium-r-*-*-9-*-*-*-*-*-fontset-09pt_monotype_courier" t 'noerror)
	(set-fontset-font "fontset-09pt_monotype_courier"	'latin-iso8859-1  
'("courier new" . "iso8859-1"))
	(set-fontset-font "fontset-09pt_monotype_courier"	'latin-iso8859-2  
'("courier new" . "iso8859-2"))
	(set-fontset-font "fontset-09pt_monotype_courier"	'latin-iso8859-3  
'("courier new" . "iso8859-3"))
	(set-fontset-font "fontset-09pt_monotype_courier"	'latin-iso8859-4  
'("courier new" . "iso8859-4"))
	(set-fontset-font "fontset-09pt_monotype_courier"    
'cyrillic-iso8859-5  '("courier new" . "iso8859-5"))
	(set-fontset-font "fontset-09pt_monotype_courier"      
'arabic-iso8859-6  '("courier new" . "iso8859-6"))
	(set-fontset-font "fontset-09pt_monotype_courier"	'greek-iso8859-7  
'("courier new" . "iso8859-7"))
	(set-fontset-font "fontset-09pt_monotype_courier"      
'hebrew-iso8859-8  '("courier new" . "iso8859-8"))
	(set-fontset-font "fontset-09pt_monotype_courier"	'latin-iso8859-9  
'("courier new" . "iso8859-9"))
	(set-fontset-font "fontset-09pt_monotype_courier"	'latin-iso8859-15 
'("courier new" . "iso8859-15"))
	(set-fontset-font "fontset-09pt_monotype_courier" 
'mule-unicode-0100-24ff '("courier new" . "iso10646-1"))
	(set-fontset-font "fontset-09pt_monotype_courier" 
'mule-unicode-2500-33ff '("courier new" . "iso10646-1"))
	(set-fontset-font "fontset-09pt_monotype_courier" 
'mule-unicode-e000-ffff '("courier new" . "iso10646-1"))
;
     (create-fontset-from-fontset-spec "-monotype-courier 
new-medium-r-*-*-10-*-*-*-*-*-fontset-10pt_monotype_courier" t 
'noerror)
	(set-fontset-font "fontset-10pt_monotype_courier"	'latin-iso8859-1  
'("courier new" . "iso8859-1"))
	(set-fontset-font "fontset-10pt_monotype_courier"	'latin-iso8859-2  
'("courier new" . "iso8859-2"))
	(set-fontset-font "fontset-10pt_monotype_courier"	'latin-iso8859-3  
'("courier new" . "iso8859-3"))
	(set-fontset-font "fontset-10pt_monotype_courier"	'latin-iso8859-4  
'("courier new" . "iso8859-4"))
	(set-fontset-font "fontset-10pt_monotype_courier"    
'cyrillic-iso8859-5  '("courier new" . "iso8859-5"))
	(set-fontset-font "fontset-10pt_monotype_courier"      
'arabic-iso8859-6  '("courier new" . "iso8859-6"))
	(set-fontset-font "fontset-10pt_monotype_courier"	'greek-iso8859-7  
'("courier new" . "iso8859-7"))
	(set-fontset-font "fontset-10pt_monotype_courier"      
'hebrew-iso8859-8  '("courier new" . "iso8859-8"))
	(set-fontset-font "fontset-10pt_monotype_courier"	'latin-iso8859-9  
'("courier new" . "iso8859-9"))
	(set-fontset-font "fontset-10pt_monotype_courier"	'latin-iso8859-15 
'("courier new" . "iso8859-15"))
	(set-fontset-font "fontset-10pt_monotype_courier" 
'mule-unicode-0100-24ff '("courier new" . "iso10646-1"))
	(set-fontset-font "fontset-10pt_monotype_courier" 
'mule-unicode-2500-33ff '("courier new" . "iso10646-1"))
	(set-fontset-font "fontset-10pt_monotype_courier" 
'mule-unicode-e000-ffff '("courier new" . "iso10646-1"))
;
     (create-fontset-from-fontset-spec "-monotype-courier 
new-medium-r-*-*-11-*-*-*-*-*-fontset-11pt_monotype_courier" t 
'noerror)
	(set-fontset-font "fontset-11pt_monotype_courier"	'latin-iso8859-1  
'("courier new" . "iso8859-1"))
	(set-fontset-font "fontset-11pt_monotype_courier"	'latin-iso8859-2  
'("courier new" . "iso8859-2"))
	(set-fontset-font "fontset-11pt_monotype_courier"	'latin-iso8859-3  
'("courier new" . "iso8859-3"))
	(set-fontset-font "fontset-11pt_monotype_courier"	'latin-iso8859-4  
'("courier new" . "iso8859-4"))
	(set-fontset-font "fontset-11pt_monotype_courier"    
'cyrillic-iso8859-5  '("courier new" . "iso8859-5"))
	(set-fontset-font "fontset-11pt_monotype_courier"      
'arabic-iso8859-6  '("courier new" . "iso8859-6"))
	(set-fontset-font "fontset-11pt_monotype_courier"	'greek-iso8859-7  
'("courier new" . "iso8859-7"))
	(set-fontset-font "fontset-11pt_monotype_courier"      
'hebrew-iso8859-8  '("courier new" . "iso8859-8"))
	(set-fontset-font "fontset-11pt_monotype_courier"	'latin-iso8859-9  
'("courier new" . "iso8859-9"))
	(set-fontset-font "fontset-11pt_monotype_courier"	'latin-iso8859-15 
'("courier new" . "iso8859-15"))
	(set-fontset-font "fontset-11pt_monotype_courier" 
'mule-unicode-0100-24ff '("courier new" . "iso10646-1"))
	(set-fontset-font "fontset-11pt_monotype_courier" 
'mule-unicode-2500-33ff '("courier new" . "iso10646-1"))
	(set-fontset-font "fontset-11pt_monotype_courier" 
'mule-unicode-e000-ffff '("courier new" . "iso10646-1"))
;
     (create-fontset-from-fontset-spec "-monotype-courier 
new-medium-r-*-*-12-*-*-*-*-*-fontset-12pt_monotype_courier" t 
'noerror)
	(set-fontset-font "fontset-12pt_monotype_courier"	'latin-iso8859-1  
'("courier new" . "iso8859-1"))
	(set-fontset-font "fontset-12pt_monotype_courier"	'latin-iso8859-2  
'("courier new" . "iso8859-2"))
	(set-fontset-font "fontset-12pt_monotype_courier"	'latin-iso8859-3  
'("courier new" . "iso8859-3"))
	(set-fontset-font "fontset-12pt_monotype_courier"	'latin-iso8859-4  
'("courier new" . "iso8859-4"))
	(set-fontset-font "fontset-12pt_monotype_courier"    
'cyrillic-iso8859-5  '("courier new" . "iso8859-5"))
	(set-fontset-font "fontset-12pt_monotype_courier"      
'arabic-iso8859-6  '("courier new" . "iso8859-6"))
	(set-fontset-font "fontset-12pt_monotype_courier"	'greek-iso8859-7  
'("courier new" . "iso8859-7"))
	(set-fontset-font "fontset-12pt_monotype_courier"      
'hebrew-iso8859-8  '("courier new" . "iso8859-8"))
	(set-fontset-font "fontset-12pt_monotype_courier"	'latin-iso8859-9  
'("courier new" . "iso8859-9"))
	(set-fontset-font "fontset-12pt_monotype_courier"	'latin-iso8859-15 
'("courier new" . "iso8859-15"))
	(set-fontset-font "fontset-12pt_monotype_courier" 
'mule-unicode-0100-24ff '("courier new" . "iso10646-1"))
	(set-fontset-font "fontset-12pt_monotype_courier" 
'mule-unicode-2500-33ff '("courier new" . "iso10646-1"))
	(set-fontset-font "fontset-12pt_monotype_courier" 
'mule-unicode-e000-ffff '("courier new" . "iso10646-1"))
.... many, many more ...
))
(provide 'site-fontsets-x11)

to be able to load them only in X11

> 2.  How can I make emacs come up in full screen mode each time it 
> starts?

xdpyinfo tells your screen's size. In .Xdefaults you can put:

Emacs*geometry:			1440x900

--
Greetings

   Pete

»¿ʇı̣ əsnqɐ ʇ,uɐɔ noʎ ɟı̣
ɓuı̣ɥʇʎuɐ sı̣ pooɓ ʇɐɥʍ«

  reply	other threads:[~2005-07-31 15:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-31 15:26 Font and Window Size in emacs Joe Hesse
2005-07-31 15:50 ` Peter Dyballa [this message]
     [not found] ` <mailman.2159.1122825781.20277.help-gnu-emacs@gnu.org>
2005-08-01 15:54   ` Joe Hesse
2005-08-01 18:00     ` Peter Dyballa
2005-08-02 17:14       ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ef4d1eec5dc0d6a4c6f773b8307632a1@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).