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

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

Re: font selection


From: Peter Dyballa
Subject: Re: font selection
Date: Wed, 30 Sep 2009 10:23:10 +0200


Am 29.09.2009 um 10:06 schrieb Frédéric Boiteux:

Is it possible to select fonts from the init.el / custom.el specific Emacs config files ?


Yes. In for example

        (setq initial-frame-alist '(
          (mouse-color           . "midnightblue")
          (foreground-color      . "grey20")
          (background-color      . "alice blue")
          (internal-border-width . 2)
          (line-spacing          . 1)
          (active-alpha          . 0.875)
          (inactive-alpha        . 0.75)
          (top . 25) (left . 650) (width . 91) (height . 50)))
        (setq default-frame-alist '(
          (border-color          . "#4e3831")
          (foreground-color      . "grey10")
          (background-color      . "ghost white")
          (vertical-scroll-bars  . left)
          (cursor-color          . "purple")
          (cursor-type           . box)
          (active-alpha          . 0.75)
          (inactive-alpha        . 0.875)
          (top . 50) (left . 150) (width . 89) (height . 56)))

you can also put elements like

(font . "-apple-courier std-medium-r-normal--0-0-0-0-m-0- mac-roman")

or

          (font . "fontset-osaka")

and there is also the option:

(set-frame-font "-apple-courier-medium-r-normal--14-*-*-*-*-*- fontset-14pt_bitstream_courier" 'keep)


The fontsets can be built in your init file as well.

--
Greetings

  Pete

     _o    o         o   o
   _<<     \\_/\_,   \\_ \\_/\_,
  (*)/(*) (*)   (*) (*) `-    (*)







reply via email to

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