In article <[EMAIL PROTECTED]>, Zhang Wei <[EMAIL PROTECTED]> writes:

> Leo <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to