[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: |
Sat, 21 May 2011 23:51:33 +0200 |
Am 21.05.2011 um 14:01 schrieb Johnny:
Any suggestions welcome!
Did you launch GNU Emacs with the -Q option? This means: without any
customisation. Now enter: C-h H! After some a buffer HELLO will open.
How is the size of the Chinese characters in this buffer? How is the
size of the characters when you perform your usual completion test in
mini-buffer?
If all looks pretty well you can try: M-x describe-fontset RET. You
can also position the cursor on one of the Chinese characters in the
HELLO buffer and type: C-u C-x =. In the just opened *Help* buffer you
can see the XLFD (X11 Logical Font Descriptor) name of the font used
by GNU Emacs. You can now try to create a new or modify an existing
fontset to use the font you just determined:
(defvar my-fontset-spec)
(setq my-fontset-spec
"-*-fixed-medium-r-normal-*-15-*-*-*-*-*-fontset-normal,
chinese-big5-1:*-kai-*-*-15-*,
chinese-big5-2:*-kai-*-*-15-*"
)
(create-fontset-from-fontset-spec my-fontset-spec)
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")
Fontsets are documented in GNU Emacs' info system (C-h i).
--
Greetings
Pete
Isn't vi that text editor with two modes... one that beeps and one
that corrupts your file?
– Dan Jacobson, on comp.os.linux.advocacy