emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: [unicode-2] Chinese characters too small


From: Kenichi Handa
Subject: Re: [unicode-2] Chinese characters too small
Date: Thu, 12 Jul 2007 21:24:58 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, Zhang Wei <address@hidden> writes:

> Leo <address@hidden> writes:
> [...]

> > (when window-system
> >   (set-fontset-font (frame-parameter nil 'font)
> >                 'han '("FZSongTi" . "unicode-bmp")))

> The problem is that we can't specify different pixelsize for different
> script. If we specify a font in the command line:

> emacs --enable-font-backend -fn "Bitstream Vera Sans Mono-14"

> then all script will use 14 pixelsize font.

It seems that you confuse pixelsize and pointsize.  What you
specified by the above form is "14 pointsize", not "14
pixelsize".

By the way, now --enable-font-backend is not necessary.
It's on by default.

> We could specify a different
> font for some scripts with `set-fontset-font', such as:

> (set-fontset-font (frame-parameter nil 'font)
>                   'han '("SimSun" . "unicode-bmp"))

> but we can't change the fontsize:

> (set-fontset-font (frame-parameter nil 'font)
>                   'han '("SimSun-16" . "unicode-bmp"))

> won't work. We hope `set-fontset-font' could be used for changing
> fontsize also.

set-fontset-font still doesn't accept fontconfig-like font
specification (it's in my todo list).

Please try this:

(set-fontset-font
 (frame-parameter nil 'font)
 'han
 "-*-SimSun-medium-r-normal--16-*-*-*-*-*-unicode-bmp")

---
Kenichi Handa
address@hidden




reply via email to

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