emacs-devel
[Top][All Lists]
Advanced

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

Re: set-fontset-font do not work again.


From: Eli Zaretskii
Subject: Re: set-fontset-font do not work again.
Date: Mon, 08 Nov 2021 14:59:50 +0200

> Date: Mon, 8 Nov 2021 11:33:06 +0800 (CST)
> From: tumashu  <tumashu@163.com>
> Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
> 
> >> (dolist (charset '(kana han symbol cjk-misc bopomofo))
> >>   (set-fontset-font
> >>    t
> >>    charset
> >>    (font-spec :name "Microsoft Yahei"
> >>               :weight 'normal
> >>               :slant 'normal
> >>               :size 16)))
> >
> >"Does not work" in what sense?  What happens if you execute this code?
> 
> It will let Chinese use "Microsoft Yahei" font, but now it seem to do nothing.

You are saying it worked in Emacs 28, but doesn't work in Emacs 29?

Why are you using both :name and :weight/:slant/:size?  What happens
if you try this instead:

 (dolist (charset '(kana han symbol cjk-misc bopomofo))
   (set-fontset-font t charset "Microsoft Yahei"))




reply via email to

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