emacs-devel
[Top][All Lists]
Advanced

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

Re: Ntemacs chooses wrong font.


From: Jason Rumney
Subject: Re: Ntemacs chooses wrong font.
Date: Wed, 11 Jun 2008 13:40:26 +0100
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Kevin Yu wrote:
If I change font configuration to:
(set-frame-font "Monaco-10")
(set-fontset-font (frame-parameter nil 'font)
          'han (font-spec :family "Microsoft Yahei" :size 16))
(set-fontset-font (frame-parameter nil 'font)
          'symbol (font-spec :family "Microsoft Yahei" :size 16))
(set-fontset-font (frame-parameter nil 'font)
          'cjk-misc (font-spec :family "Microsoft Yahei" :size 16))
(set-fontset-font (frame-parameter nil 'font)
          'bopomofo (font-spec :family "Microsoft Yahei" :size 16))

Emacs will use the right Chinese font.

It seems the problem is using "unicode-bmp" for the registry. There are so many aliases for the unicode registry, and it seems that to work correctly, the w32 font backends need to explicitly recognize them all. I think things will work better with "iso10646-1", which the w32 font backends do recognize.

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






reply via email to

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