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#63731: [PATCH] Support Emoji Variation Sequence 16 (FE0F) where appropriate Date: Mon, 05 Jun 2023 16:06:39 +0200 Message-ID: <87r0qqhukw.fsf@gmail.com> References: <87a5xrzsph.fsf@stebalien.com> <837csrgioe.fsf@gnu.org> <87jzwqb7r3.fsf@gmail.com> <83ttvuf29m.fsf@gnu.org> <87a5xmaqul.fsf@gmail.com> <83r0qxg4q0.fsf@gnu.org> <875y88bhvr.fsf@gmail.com> <83ilc8eapd.fsf@gnu.org> <83edmvcpzl.fsf@gnu.org> <87wn0n9uol.fsf@gmail.com> <83a5xjcgev.fsf@gnu.org> <87sfbb9m4y.fsf@gmail.com> <87o7ly9t6b.fsf@gmail.com> <83edmuax13.fsf@gnu.org> <87fs7a9hl3.fsf@gmail.com> <834jnqaun6.fsf@gnu.org> <878rd29d9u.fsf@gmail.com> <83leh19kec.fsf@gnu.org> <877csijbuv.fsf@gmail.com> <83fs763vez.fsf@gnu.org> <83edmq3ui9.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="26376"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63731@debbugs.gnu.org, steven@stebalien.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 05 16:07:48 2023 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 1q6As8-0006eq-NP for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Jun 2023 16:07:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6ArR-0001nZ-Bw; Mon, 05 Jun 2023 10:07:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6ArO-0001mW-PZ for bug-gnu-emacs@gnu.org; Mon, 05 Jun 2023 10:07:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6ArO-0006mx-Gj for bug-gnu-emacs@gnu.org; Mon, 05 Jun 2023 10:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6ArO-0000n7-0z for bug-gnu-emacs@gnu.org; Mon, 05 Jun 2023 10:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Jun 2023 14:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63731 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch fixed Original-Received: via spool by 63731-submit@debbugs.gnu.org id=B63731.16859740093023 (code B ref 63731); Mon, 05 Jun 2023 14:07:01 +0000 Original-Received: (at 63731) by debbugs.gnu.org; 5 Jun 2023 14:06:49 +0000 Original-Received: from localhost ([127.0.0.1]:50026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6ArB-0000mg-5K for submit@debbugs.gnu.org; Mon, 05 Jun 2023 10:06:49 -0400 Original-Received: from mail-wm1-f52.google.com ([209.85.128.52]:42494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6Ar9-0000mT-3R for 63731@debbugs.gnu.org; Mon, 05 Jun 2023 10:06:47 -0400 Original-Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-3f6d38a140bso35042575e9.1 for <63731@debbugs.gnu.org>; Mon, 05 Jun 2023 07:06:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685974001; x=1688566001; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=TFFm6waFprLpKgupPrvvz7R94nULVcZB2h/e4zvvkj4=; b=E/ptKRC/Ag+X0qIBTw79C9Ob9ljqbnlguExcY0wyx2f4KvVUR9CA0Wy7TFHDqiJ5uC /M8nD/SnKkwHUk+wkGfnvLVDeshkq8fzzKDHmPnNocN1oy4G7p4d1/TLbU+juV7KVv1m 3/gtuoQlEipf4/a1TkwQSogTR3ru35rAXbqNRCpHhkdMCnr2jD6fvTjhYheJwX2W98lX FygzDb8ODW/Xng3qyBkVXmn7//6+liyrnUKs59PVODOrr1riDNNx+8jQXHf2CuAe7inQ npCJ8481Xm/2H3wE8aPFyfnibS2aRqTtggC6R7w7XIbFYhrtpzE8gvEjhnopFBg3QqQX MWkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685974001; x=1688566001; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TFFm6waFprLpKgupPrvvz7R94nULVcZB2h/e4zvvkj4=; b=UYaIMQGIZEAj/mY7A0b08MCyJfQk8XOlZwgaPHsd7b9Z/BNk1ElsXY8UK2h5EYSz2C c+yRxe4dOOLrIkJNbZgZcyEkp2H/wI6c3YSxOItSJUT8V9CtcpaUK4hvOavHJfm4FXEz efvLhQCRm5QCNoTGQbCfrUSSDYKCiwXMqk5IeG1shMeAfsOGgTS23U0jruZKFAAqgeHm JJNJ8n3UrXLtoI+4NrVw2Mbma5San8JkaxiHA0b2E74KjsbTIlNaxFtIgWrZjoQ7BFOx Dtk0FpmC2dSWQfBYoyvTfcrYvnn76RgOSGlul9s869D8ZiIzVogi78T8LbksbwmrSd+X WEgQ== X-Gm-Message-State: AC+VfDz5TEmFwAUHAbdLLB1sxuYCfGIFcSN+oNzLLOSczfLK9NND576o rIaq1Nc0Hq5yMxgnT6gHcCI= X-Google-Smtp-Source: ACHHUZ75mcsarYrSzjr1ExKk3usS0otopOxMZoM26/N7vBklOeN3qiKRHmqZW30xMukmrbbzWOXiVg== X-Received: by 2002:a05:600c:8511:b0:3f6:ff08:6ad4 with SMTP id gw17-20020a05600c851100b003f6ff086ad4mr8227133wmb.3.1685974000683; Mon, 05 Jun 2023 07:06:40 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id 8-20020a05600c230800b003f6cf9afc25sm14671197wmo.40.2023.06.05.07.06.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jun 2023 07:06:40 -0700 (PDT) In-Reply-To: <83edmq3ui9.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Jun 2023 16:31:58 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263014 Archived-At: >>>>> On Mon, 05 Jun 2023 16:31:58 +0300, Eli Zaretskii said: >> Cc: 63731@debbugs.gnu.org, steven@stebalien.com >> Date: Mon, 05 Jun 2023 16:12:20 +0300 >> From: Eli Zaretskii >>=20 >> > Eli> So you are saying that, in our default fontset, we should= specify that >> > Eli> #xFE0E should be displayed by Noto Emoji (with Symbola as= fallback), >> > Eli> and then make sure that font_range uses the same font for= the likes of >> > Eli> #x23E9? IOW, specify a different font for VS-15 even tho= ugh is script >> > Eli> is 'emoji'? >> >=20 >> > Yes, that works (and we can remove VS-15 and VS-16 from the emoji >> > script, so that they=CA=BCll then be displayed via >> > `glyphless-char-display-control' when they=CA=BCre on their own). >>=20 >> What about the rest of VS-nn? do they need to stay in 'emoji' script, >> and if so, why? Eli> And one more question: if we remove VS-16 from the emoji script, w= hat Eli> will happen to the sequences like U+23E9 U+FE0F? Isn't it true th= at Eli> we use a color Emoji font for those because VS-16 is in emoji scri= pt? Not anymore. Now we have a forward composition rule for U+23E9 U+FE0F that triggers because U+23E9 is in the emoji script, which is why U+23E9 U+FE0E also uses the emoji font (currently). For non-emoji codepoints like U+203C, adding U+FE0F uses the emoji font because U+FE0F is in the emoji script (and there=CA=BCs no composition rule for U+203C, so the backwards looking one for U+FE0F is used). Robert --=20