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

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

Re: How do you change the font size?


From: Peter Dyballa
Subject: Re: How do you change the font size?
Date: Fri, 4 Aug 2006 13:14:35 +0200


Am 04.08.2006 um 12:29 schrieb YAD:

Peter Dyballa wrote:
Try S-mouse-1 (shift mouse-1 or shift-left mouse button).

Thank you.  Is that documented somewhere?
It would be even better to set it in a config file.

Yes. It is somewhere in *info* (or for example 'C-h a font RET'). There are also X resources for setting fonts (not sure if they all work):

Emacs*font: -*-lucidatypewriter-medium-r-*-*-10-*-*-*-m-*- iso10646-1
Emacs.menu*.font:       -*-lucida-bold-r-*-*-10-*-*-*-*-*-iso10646-1
Emacs.dialog*.font: -*-new century schoolbook-bold-r-*-*-10-*-*-*- *-*-iso10646-1
Emacs*popup.font:               -*-*-*-*-*-20-*-*-*-*-*-iso10646-1
!Emacs*menubar.font:    -*-*-*-*-*-20-*-*-*-*-*-iso10646-1
Emacs*popup.background:         Pink
Emacs*menubar*Font: -*-lucidabright-demibold-r-*-*-11-*-*-*-*-*- iso10646-1 !!--emacs.pane.menubar.font: -misc-fixed-medium-r- normal--13-120-75-75-c-80-iso8859-8 !!--emacs.menu.popup.font: -misc-fixed-medium-r- normal--13-120-75-75-c-80-iso8859-8
Emacs*paneFont:         -*-gill sans-bold-r-*-*-0-0-*-*-*-*-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.pane.font: -*-baskerville-semi bold-r-*-*-*-*-*- *-*-*-iso10646-1 Emacs.pane.menubar.font: -*-utopia-bold-r-*-*-11-*-*-*-*-*- iso10646-1

http://www.emacswiki.org/cgi-bin/emacs-de/ResourceFiles is a bit incomplete, Emacs info, too, is not exhaustive (when I looked into it one or two years ago). Strings on the GNU Emacs binary only reveals:

        %s.pane.menubar*font%s: %s
        %s.%s*font%s: %s
        Emacs.dialog*.font: %s
        *XlwMenu*font: %s

With some fantasy one can fill-in some conceptions in place of %s ...

And there are additionally:

          (border-color     . "#4e3832")
          (foreground-color . "grey10")
          (background-color . "AliceBlue")
          (active-alpha     . 0.875)
          (inactive-alpha   . 0.75)
          (font . "fontset-10pt_lucidatypewriter")
          (top . 5) (left . 500) (width . 106) (height . 50))
        )
        (setq default-frame-alist '(
          (background-color     . "LightCyan1")
          (cursor-color         . "purple")
          (cursor-type          . box)
          (foreground-color     . "grey10")
          (vertical-scroll-bars . left)
          (active-alpha         . 0.875)
          (inactive-alpha       . 0.75)
          (font . "-adobe-courier-medium-r-*-11-*-iso10646-1")
          (top . 25) (left . 50) (width . 89) (height . 50))

The lines with alpha (transparency) do not work regularly, only some Emacs flavours follow them.

With create-fontset-from-fontset-spec you can create your own fontsets which will appear in the fonts pop-up menu.

--
Greetings

  Pete

"They're putting dimes in the hole in my head to see the change in me."






reply via email to

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