From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?4KS44KSu4KWA4KSwIOCkuOCkv+CkguCkuSBTYW1lZXIgU2luZ2g=?= Newsgroups: gmane.emacs.devel Subject: Re: Supporting stylistic sets Date: Sat, 24 Sep 2022 14:11:22 +0530 Message-ID: References: <83wn9up0es.fsf@gnu.org> <83illeou0j.fsf@gnu.org> <83r101ntwi.fsf@gnu.org> <83illdnpn3.fsf@gnu.org> <83h70xnp43.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000000ee7505e96843c1" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10353"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 24 10:42:49 2022 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 1oc0kL-0002az-8M for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Sep 2022 10:42:49 +0200 Original-Received: from localhost ([::1]:38342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oc0kJ-00013Q-K7 for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Sep 2022 04:42:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc0jB-0000KS-4J for emacs-devel@gnu.org; Sat, 24 Sep 2022 04:41:37 -0400 Original-Received: from mail-yb1-xb2e.google.com ([2607:f8b0:4864:20::b2e]:34527) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oc0j9-0001Io-AX; Sat, 24 Sep 2022 04:41:36 -0400 Original-Received: by mail-yb1-xb2e.google.com with SMTP id 198so2637121ybc.1; Sat, 24 Sep 2022 01:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=6i99QzsNRSqc0FDZ+M69C0+9vXx/4VF9kfldOETHS+I=; b=fqAXLNrXKgF2NnDuYdiZD+RZf6j9z0PNBI8aTNDYcEPs11GgDhTTe/BOijTIz8GZYI HN7+yOEvC9ScywbCzpDs/8/UmbAtmqNEnt0fywU18ir4/0bYd3mwOJ3KuODgJAq5erMB OBvp1STxXr6cLBth3bkMySnuaC0p06p2gjciRyzCT+8GcOsj+Z2pEKW6J+qmXs4Te96a d0iAcrVOvmZ8E2yVeUOhrZGtgnialBgfdw2HqdXh4XhvrP/JHbz+WEmOmWvwVj7jAeF2 8hvQv3R2i1xI8vbQ3rWX3pTNhSh4mlLwY5QahVfhhZ8dMt7ui0Z+AjMlWUNyUyOBaSWh yaqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=6i99QzsNRSqc0FDZ+M69C0+9vXx/4VF9kfldOETHS+I=; b=ecFSGnOFVAxGriGjDXjnSiRkH9/gyJ2ZEPsjT9HnL3lfrFuFNMC+kYIWVjqISLtGKI oYwlwfcDM3eNqruNCluKwEEujvamV8UQDrYDuF8YxfMm0l6ZU9zYWQSfzb770IZRhMas 6fT8tL3TRa+M98sPm0GeLOokgj8aShl/aWJMj4M70o3xHf+a+bp1K0NvllBHMqyxgtJH 404PX498VfTklOreyU0YD/v537tQiaYlWnBYKy5u6+N5iyFvWzTBmjf8ZAQ3jjSAX27n QMFIKaJkig8HxFPHn1vRozNGFB3987bzQ8LW6hbJOwEWP0b+Ay8tW5SIGZ9c8QbfmxSp p0iA== X-Gm-Message-State: ACrzQf2Y40IjXAFHAV//ZJhGuH2HcGvYWDexTDEFy/TQ8lVvcSEqCUrw 3KeGQoatXc6z6ES/ImzeriGprFSDMAfAjTapmLVFU9Lzx/SxzBus X-Google-Smtp-Source: AMsMyM7gLgH4z4lHx/41DfPU+ovo3QHTCYz2lWTMJUSYopCTKRoqY/26TyMVLNTBvKh14b6awSRiaoqzlERQV9Mu6eI= X-Received: by 2002:a25:c005:0:b0:6af:c67e:9032 with SMTP id c5-20020a25c005000000b006afc67e9032mr13187555ybf.557.1664008893557; Sat, 24 Sep 2022 01:41:33 -0700 (PDT) In-Reply-To: <83h70xnp43.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::b2e; envelope-from=lumarzeli30@gmail.com; helo=mail-yb1-xb2e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=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.29 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:296132 Archived-At: --00000000000000ee7505e96843c1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > > I don't understand: how does this handle the case where a certain > character has more than 2 alternative glyphs? which alternative will > be selected? Different glyphs would have different tags. For example in FiraCode "0" has four alternatives and each one has a different tag: zero, cv11, cv12, cv13 On Sat, Sep 24, 2022 at 2:09 PM Eli Zaretskii wrote: > > From: =E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0 =E0=A4=B8=E0=A4=BF=E0=A4=82= =E0=A4=B9 Sameer Singh > > Date: Sat, 24 Sep 2022 14:04:42 +0530 > > Cc: emacs-devel@gnu.org > > > > Then font-level specification of this would not be as simple as was > > originally suggested, I think: the characters were missing from that > > suggestion. > > > > We don't have to specify each character for which we want the > stylistic-set, we just simply would have to > > pass the tags > > and hb_shape_full would take care of the rest. > > I don't understand: how does this handle the case where a certain > character has more than 2 alternative glyphs? which alternative will > be selected? > --00000000000000ee7505e96843c1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I don= 9;t understand: how does this handle the case where a certain
character has more than 2 alternative glyphs? which alternative will
be selected?

Different glyphs would have di= fferent tags.
For example in FiraCode "0" has four alte= rnatives and each one has a different tag:
zero, cv11, cv12, cv13=

On Sat, Sep 24, 2022 at 2:09 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: =E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4= =B0 =E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9 Sameer Singh <lumarzeli30@gmail.com>
> Date: Sat, 24 Sep 2022 14:04:42 +0530
> Cc: emacs-dev= el@gnu.org
>
>=C2=A0 Then font-level specification of this would not be as simple as = was
>=C2=A0 originally suggested, I think: the characters were missing from = that
>=C2=A0 suggestion.
>
> We don't have to specify each character for which we want the styl= istic-set, we just simply would have to
> pass the tags
> and hb_shape_full would take care of the rest.

I don't understand: how does this handle the case where a certain
character has more than 2 alternative glyphs? which alternative will
be selected?
--00000000000000ee7505e96843c1--