GNU bug report logs - #33019
26.1; can not set fontset as frame font by set-frame-font

Previous Next

Package: emacs;

Reported by: ynyaaa <at> gmail.com

Date: Thu, 11 Oct 2018 15:06:02 UTC

Severity: normal

Found in version 26.1

Full log


View this message in rfc822 format

From: ynyaaa <at> gmail.com
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 33019 <at> debbugs.gnu.org
Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font
Date: Sat, 13 Oct 2018 03:53:26 +0900
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: ynyaaa <at> gmail.com
>> Date: Fri, 12 Oct 2018 00:04:46 +0900
>> 
>> I installed google noto fonts, and tried to use "Noto Mono"
>> with "Noto Sans CJK JP Regular".
>> Evaluating the form below, characters are displayed with "Noto Mono"
>> and default fall back display.
>> 
>> (let ((name  "-*-*-*-*-*-*-*-*-*-*-*-*-fontset-test"))
>>   (new-fontset name '(((0 . #xffff) . "Noto Mono")))
>>   (set-fontset-font name '(#x80 . #xffff)
>>                     "Noto Sans CJK JP Regular" nil 'append)
>>   (set-frame-font name))
>> 
>> After evaluation, the result buffers of some commands are shown as below.
>
> I'm sorry, I must be dense today: I have read the report several
> times, and I don't think I understand what exactly is the behavior you
> think is incorrect.  Could you please spell out what seems to be
> wrong, and why do you think it is wrong?
>
> Also, what exactly is the real-life use case behind this?  Why did you
> need to create a new fontset?
>
> Thanks.

I want to display European characters with "Noto Mono" and
CJK characters with "Noto Sans CJK JP Regular".
(And other scripts with other Noto fonts.)

Evaluating (set-frame-font "fontset-test") results almost same as
evaluating (set-frame-font "Noto Mono"), and
"Noto Sans CJK JP Regular" is not used.




This bug report was last modified 3 years and 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.