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: Eli Zaretskii <eliz <at> gnu.org>
To: ynyaaa <at> gmail.com
Cc: 33019 <at> debbugs.gnu.org
Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font
Date: Fri, 12 Oct 2018 09:46:38 +0300
> 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.




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.