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

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

Re: Cannot load font?


From: Peter Dyballa
Subject: Re: Cannot load font?
Date: Sun, 16 Nov 2008 12:04:26 +0100


Am 16.11.2008 um 05:57 schrieb George Roman:

What am I doing wrong?


Choosing the wrong font? To see a list of all the fonts GNU Emacs sees, you can just try to create this list of completions:

        M-x set-frame-font RET TAB TAB

and save the buffer (if you try file name completion to save it you might substitute its contents with possible file name completions). Now can choose from the list an existing font that the X server provides.

Another option would be to use:

        (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)
          (font . "-apple-courier std-medium-r-normal--0-0-0-0-m-0-mac-roman")
          (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)
          (font . "-*-*-medium-r-normal--10-*-*-*-*-*-fontset-osaka")
          (top . 50) (left . 150) (width . 89) (height . 56)))


--
Greetings

  Pete

We have to expect it, otherwise we would be surprised.







reply via email to

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