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

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

bug#49797: 28.0.50; Setting face to custom fontset doesn't work


From: Eli Zaretskii
Subject: bug#49797: 28.0.50; Setting face to custom fontset doesn't work
Date: Tue, 05 Oct 2021 22:18:52 +0300

> From: Yuan Fu <casouri@gmail.com>
> Date: Tue, 5 Oct 2021 12:15:01 -0700
> Cc: Kenichi Handa <handa@gnu.org>,
>  49797@debbugs.gnu.org
> 
> > And the usual way to do this is to request a font family or foundry in
> > the face spec, not via fontsets.  Doesn't that work for some reason?
> 
> Because I want to use different font for different characters for that face, 
> isn’t that the whole point of fontsets? Maybe it is easier to understand this 
> way:
> 
> variable-pitch -> :font "fontset-serif” -> - Latin: Charter
>                                            - CJK: Source Han Serif
> default -> :font "fontset-default" -> - Latin: SF Mono
>                                       - CJK: Source Han Sans
> 
> Currently I am unable to use Source Han Serif for CJK characters for 
> variable-pitch face (without the ugly solution I mentioned previously).

I asked why not use :family and :foundry in the face definition.  Did
you try that?





reply via email to

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