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

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

Re: Increase text size of echo area / mode line?


From: Peter Dyballa
Subject: Re: Increase text size of echo area / mode line?
Date: Wed, 25 May 2011 10:45:39 +0200


Am 24.05.2011 um 23:13 schrieb Johnny:

It seems that font names from the fontconfig service also work:

        (set-fontset-font "fontset-default" 'gb18030
("STFangsong". "unicode-
bmp")

or, with a particular size:

        (set-fontset-font "fontset-default" 'gb18030
("STFangsong-16". "unicode-bmp")

This is alternate methods, I assume?

It's more of a direct method of constructing a fontset.

But where does STFangsong come from and what happened to big5?


"STFangsong" is the name of a TrueType font as reported by the fontconfig service (fc-list for example). "STFangsong-16" is the fontconfig specification of the STFangsong (normal, regular) font at 16 pt size.

Once you've set up your own fontset, you can make it active by specifying it in default-frame-alist (there's also initial-frame- alist) in your init file:

    (setq default-frame-alist
      (append (list
        '(font . "fontset-10pt_lucida_sans_typewriter")
    ) default-frame-alist)))


--
Greetings

  Pete

Build a man a fire and he'll be warm for a night, but set a man on fire and he'll be warm for the rest of his life.




reply via email to

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