From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#39340: 26.3; "Noto Emoji" font not displayed Date: Fri, 31 Jan 2020 10:46:39 +0200 Message-ID: <83wo98ko7k.fsf@gnu.org> References: <86wo98bc3c.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="103567"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39340@debbugs.gnu.org To: ynyaaa@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 31 09:48:25 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ixRyT-000Qtp-9x for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 31 Jan 2020 09:48:25 +0100 Original-Received: from localhost ([::1]:50056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixRyS-0001bE-D5 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 31 Jan 2020 03:48:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51700) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixRy9-0001Zr-9l for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2020 03:48:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixRy7-0004zO-9Z for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2020 03:48:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58788) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ixRy6-0004zG-NQ for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2020 03:48:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ixRy6-0000Lh-LF for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2020 03:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 Jan 2020 08:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39340 X-GNU-PR-Package: emacs Original-Received: via spool by 39340-submit@debbugs.gnu.org id=B39340.15804604291280 (code B ref 39340); Fri, 31 Jan 2020 08:48:02 +0000 Original-Received: (at 39340) by debbugs.gnu.org; 31 Jan 2020 08:47:09 +0000 Original-Received: from localhost ([127.0.0.1]:36528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixRxF-0000KY-7r for submit@debbugs.gnu.org; Fri, 31 Jan 2020 03:47:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixRxD-0000KM-FU for 39340@debbugs.gnu.org; Fri, 31 Jan 2020 03:47:08 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ixRx8-0003k1-9R; Fri, 31 Jan 2020 03:47:02 -0500 Original-Received: from [176.228.60.248] (port=1206 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ixRx7-0002vy-Hm; Fri, 31 Jan 2020 03:47:02 -0500 In-reply-to: <86wo98bc3c.fsf@gmail.com> (ynyaaa@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:175470 Archived-At: > From: ynyaaa@gmail.com > Cc: 39340@debbugs.gnu.org > Date: Fri, 31 Jan 2020 11:20:55 +0900 > > With (setq use-default-font-for-symbols nil), none of the following > forms make Emoji glyphs visible. > (set-fontset-font t '(#x80 . #x10FFFF) "Noto Emoji") > or (set-fontset-font t '(#x1F300 . #x1F6C5) "Noto Emoji") > or (set-fontset-font t #x1F600 "Noto Emoji") (The first of these variants doesn't make sense.) What do you mean by "make Emoji glyphs visible"? Ar the characters in some ranges of codepoints (which ones?) shown as boxes with hex numbers, or shown using fonts other than Noto Emoji, or shown as something else? Also, did you try to use the ADD argument of set-fontset-font? I'd suggest to use 'prepend there. > Also I found that OSMANYA DIGITs(U+104A0..U+104A9) are not displayed. > By default, OSMANYA LETTERs(U+10480..U+1049D) are displayed with Ebrima > font. But OSMANYA DIGITs are displayed as boxed hex numbers. > Explicitly evaluating (set-fontset-font t '(#x104A0 . #x104A9) "Ebrima"), > OSMANYA DIGITs are displayed as boxed hex numbers. Maybe Ebrima doesn't have glyphs for OSMANYA DIGITs? I'm not on Windows 10, so I cannot check that. > And evaluating (set-fontset-font t '(#x104A0 . #x104A9) "Noto Sans Osmanya"), > OSMANYA DIGITs are displayed as boxed hex numbers, too. Try this instead: (set-fontset-font t '(#x10480 . #x104A9) "Noto Sans Osmanya" nil 'prepend) IOW, tell Emacs to use that font for the entire Osmanya block. On my Windows system, just installing the Noto Sans Osmanya font immediately let Emacs use it for displaying all the Osmanya characters, but I guess that's an easier situation for Emacs, since that's the only font supporting that block on my system; previously all the Osmanya characters were displayed as hex codes in boxes. Maybe you have many more fonts installed that have partial support for Osmanya, and that causes problems?