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.devel Subject: Re: Entering emojis Date: Wed, 27 Oct 2021 15:26:29 +0200 Message-ID: <87zgquy4xm.fsf@gmail.com> References: <87cznths5j.fsf@gnus.org> <83zgqxymd3.fsf@gnu.org> <878rygj4gt.fsf@gnus.org> <83wnm0zz0q.fsf@gnu.org> <874k94j3rn.fsf@gnus.org> <83v91kzydh.fsf@gnu.org> <87tuh4holf.fsf@gnus.org> <822aec9d01909cecfc6c@heytings.org> <87a6iwhltf.fsf@gnus.org> <83tuh4zfg5.fsf@gnu.org> <87y26gfobr.fsf@gnus.org> <87tuh4f1ie.fsf@gnus.org> <83tuh2wuwa.fsf@gnu.org> <87pmrqod9f.fsf@gmail.com> <87wnlymx96.fsf@gmail.com> <875ytibomf.fsf@gnus.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="18490"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org, gregory@heytings.org, Stefan Kangas To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 27 15:54:29 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mfjNt-0004ao-AK for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 15:54:29 +0200 Original-Received: from localhost ([::1]:51496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfjNs-0007HL-1A for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 09:54:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfiwt-0003SC-FH for emacs-devel@gnu.org; Wed, 27 Oct 2021 09:26:35 -0400 Original-Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:34647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfiwr-0007wG-M2; Wed, 27 Oct 2021 09:26:35 -0400 Original-Received: by mail-wr1-x436.google.com with SMTP id d10so4225922wrb.1; Wed, 27 Oct 2021 06:26:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=F9anyQ7gFwYRXT+QzO8ZMMH3EXQlqC6ZC6O9Z4ex33I=; b=VXqVXLUu4WOzl65MwStDd69Iq5si53phyj6UbOw3QVrRgOuwohSx0LHyAyg2kw/Zbb Ruv1jCMGOiAMfQNHWJhmURo02OkvOkXPcxQH8oA4mY49vIS2Up08HjdHeRFsappou7uJ QVo5HASwOsWySgz2yuM8ZljfDIRMj0Ref2LLEePrsaHGSjNGh6tpGDE7ZXh/b6QXJx4S j9zWLdZTPHRqWUi+5ttfQys/x38zmrbEalv3HIbqes9xJi4PqgSny/D7j5hatNQDrzyc /NvR8/hFSozTDcU/F80ir/VElBiSUpQLtkthOTM6QPdvoxRtnjFNKWhxzuH4E0lw7GMv 9q1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=F9anyQ7gFwYRXT+QzO8ZMMH3EXQlqC6ZC6O9Z4ex33I=; b=FNlMLvIHD3XcVSrd70GZbhBIOwMbzLXFzvwuzPjXYYPrFKTGYFVVifWlRDz1HXdTqJ LasE4cLMhslefV4IzxPV4VI4Xnyx66XJbC5UU3+tqgRT6w/LL/UZY7qS8tPvOdZ4s9/q xBJx6N7Sexg0lPVYuOyPjQrp0ZtFj2XIcK5ztfpFbzDZUUUMYLG6rB7h8F13NKEjQ9mM AcoZLdWBkTo8f6xcqeBJ780zehgKWj0yfoagMSHfT6/ZWOpaez29ETxR6PWEKeIaa2Ce 9rt9gL/xo8KeOTzO+M2lwHZAY3t8LyGoDZj8JR/5o63KWa+J+gpKtTc0Ayt9qbqLwU8g C4iQ== X-Gm-Message-State: AOAM531oUG66IE5vrf4vnyzkDhad1oO2gT8ERSgkeGHH4baAOerXA8gG Eu+E3JUXqXdXtYRKR8LrFZvaTu2DVCk= X-Google-Smtp-Source: ABdhPJxcI9p5QnLLvxCyrsGRcyBw6GYCg0yAlEiks/76H/MBu9hFv5SYujUoc2uplgYRz42BgQOP1A== X-Received: by 2002:adf:ca09:: with SMTP id o9mr39547317wrh.303.1635341191264; Wed, 27 Oct 2021 06:26:31 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id g7sm21514216wrd.81.2021.10.27.06.26.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Oct 2021 06:26:30 -0700 (PDT) In-Reply-To: <875ytibomf.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 27 Oct 2021 15:09:44 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=rpluim@gmail.com; helo=mail-wr1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:277959 Archived-At: >>>>> On Wed, 27 Oct 2021 15:09:44 +0200, Lars Ingebrigtsen said: Lars> Robert Pluim writes: >> I=CA=BCd push it to emacs-28, but I have no idea of the repercussion= s. Lars> Try pushing it to master, at least -- if nobody reports problems,= we can Lars> consider cherry-picking it for emacs-28. Sure. Eli? commit d3c78393b1 Author: Robert Pluim AuthorDate: Wed Oct 27 15:24:48 2021 +0200 Commit: Robert Pluim CommitDate: Wed Oct 27 15:24:48 2021 +0200 Don't skip color fonts on macOS =20=20=20=20 This allows emoji to be displayed using a Color Emoji font without the user having to use 'set-fontset-font'. =20=20=20=20 * src/macfont.m (macfont_list): Don't skip color fonts. diff --git a/src/macfont.m b/src/macfont.m index d86f09f485..4291375f3c 100644 --- a/src/macfont.m +++ b/src/macfont.m @@ -2414,11 +2414,6 @@ So we use CTFontDescriptorCreateMatchingFontDescript= or (no !=3D (spacing >=3D FONT_SPACING_MONO))) continue; =20 - /* Don't use a color bitmap font unless its family is - explicitly specified. */ - if ((sym_traits & kCTFontTraitColorGlyphs) && NILP (family)) - continue; - if (j > 0 && !macfont_supports_charset_and_languages_p (desc, charset, chars, languag= es))