From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#44020: 28.0.50; Prefer selection of colour emoji fonts? Date: Tue, 20 Oct 2020 09:33:49 +0200 Message-ID: References: <87tuuvtl5n.fsf@gnus.org> <83tuuvwcd8.fsf@gnu.org> <87imba4454.fsf@gnus.org> <83k0vmp8n8.fsf@gnu.org> <83zh4inj4y.fsf@gnu.org> <87362a11ii.fsf@gmx.net> <83tuuqnglx.fsf@gnu.org> <87pn5dub98.fsf@gmx.net> <83o8kxoc90.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6737"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44020@debbugs.gnu.org, larsi@gnus.org, Stephen Berman To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 20 09:34:09 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 1kUm9p-0001eQ-EJ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Oct 2020 09:34:09 +0200 Original-Received: from localhost ([::1]:40142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUm9o-0006zs-F6 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Oct 2020 03:34:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUm9h-0006zV-U7 for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2020 03:34:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59961) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUm9h-0004uJ-Kx for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2020 03:34:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kUm9h-0004Ee-I7 for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2020 03:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Oct 2020 07:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44020 X-GNU-PR-Package: emacs Original-Received: via spool by 44020-submit@debbugs.gnu.org id=B44020.160317924016273 (code B ref 44020); Tue, 20 Oct 2020 07:34:01 +0000 Original-Received: (at 44020) by debbugs.gnu.org; 20 Oct 2020 07:34:00 +0000 Original-Received: from localhost ([127.0.0.1]:43274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUm9g-0004EP-6F for submit@debbugs.gnu.org; Tue, 20 Oct 2020 03:34:00 -0400 Original-Received: from mail-wm1-f45.google.com ([209.85.128.45]:52238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUm9e-0004E7-75 for 44020@debbugs.gnu.org; Tue, 20 Oct 2020 03:33:59 -0400 Original-Received: by mail-wm1-f45.google.com with SMTP id c194so686264wme.2 for <44020@debbugs.gnu.org>; Tue, 20 Oct 2020 00:33:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=WU6WQacAXCJmDYLEkL5weacgqd1xaoh3mJvymrmtths=; b=oayyQtyIsTeyquBTcwfddXep5zYrd7/TZbx9MgO6pCcL1seUMreGNraO6vMF6Gcb0a B+tsdrZAAIBGgwXPn9Z62D2ta44zaqQSOQdQBAB9NmegkN19pxjHqpG2Iy1N9ixWuixw 4woNSNvQQqQCV7INAwL+QI4lD0GTNzIFH1sZd3w7LeudGgf6ZfKyi1pXxs58Fwhn0qRS 57kzgwft55npwiBkHr43D1uIfZn5gSfMXIiQCabzRUoWbKKZbDg5WeZ2kx3ZAxd2Bmd+ UjMtfCkv0iusZjWgX+tPhbV0UV66KXWzJFnb0j1RXuC4fJoMKLRk03rnx2hWnCgshjdH LyxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=WU6WQacAXCJmDYLEkL5weacgqd1xaoh3mJvymrmtths=; b=D5ELtGLHlIFX5IMWfD+N8mmeYEfUA71Gav7JiBzbGQrkMO+JJxKKQJafdoU/DIqMYN gaIbwTdw1IMDE2CI+KGlX6p3paB2zewFcaWN5rsNJ2EBYfa62TAACmAUCpjuDFYr5we8 raoz4uhuNh2+ZrMx/B+JHVyOR2BtzkyDgJ2KXBbedkRX5n5rd9Ql0tu4/3beTNLNROzw QZDOj7JDsaH1iIsCJP8ImOfLLwbqHpLDlNPy15TynAGfRJpczAURhEDumI9jLPfBIl6t K8azynTk3rftY7L1xPCye7kShwNUQXcsAsCLG66c52PKMEM88b9pCDhSkOyMkpKj9A5h 1V3A== X-Gm-Message-State: AOAM532suNLPgJfJoDoRLPPh6x3ujr2L5U3PCVhTq3IXyO7nVMYhIeaG DGXqAO4x54WJGY7EEb3e7O0= X-Google-Smtp-Source: ABdhPJx9IH+cBoU81U5UVuldVbhzB39wHb1uGCg5yuRBxh3z9Ji1zg/WsFWosH3i8v1i7aSNyTjX5A== X-Received: by 2002:a05:600c:29ce:: with SMTP id s14mr1376213wmd.47.1603179232105; Tue, 20 Oct 2020 00:33:52 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:b137:ca03:e0a3:4479]) by smtp.gmail.com with ESMTPSA id x3sm1354579wmi.45.2020.10.20.00.33.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 00:33:51 -0700 (PDT) In-Reply-To: <83o8kxoc90.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 20 Oct 2020 05:35:39 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:191067 Archived-At: >>>>> On Tue, 20 Oct 2020 05:35:39 +0300, Eli Zaretskii said: >> From: Stephen Berman >> Cc: rpluim@gmail.com, 44020@debbugs.gnu.org, larsi@gnus.org >> Date: Tue, 20 Oct 2020 00:00:35 +0200 >>=20 >> > And what version of Noto Color Emoji do you have? >>=20 >> v2018-04-24-pistol-update >>=20 >> > And finally, could you step through the code shown by Robert and t= ell >> > whether the Noto Color Emoji's average_width you get is also zero = or >> > non-zero? >>=20 >> I started emacs -Q in gdb, evaluated the above two set-fontset-font >> sexps, put a breakpoint on font_open_entity, and typed `M-x 8 RET >> GRINNING FACE RET' and gdb took control, then I stepped through the >> function until gdb output `if (font->average_width > 0 && font->heig= ht > >> 0)' and then I entered `p font->average_width' and gdb output $1 =3D= 16. >> Did I do this right and does that answer your question? If not, ple= ase >> advise. Eli> Yes, that's it. I wonder why Robert gets zero, perhaps a different Eli> version of the font? it seems I=CA=BCm not alone in having problems with Noto Color Emoji on Ubuntu: Debian time, I think (which has been on my list for a while in any case). Robert --=20