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 18:15:23 +0530 Message-ID: References: <83wn9up0es.fsf@gnu.org> <83illeou0j.fsf@gnu.org> <83r101ntwi.fsf@gnu.org> <83illdnpn3.fsf@gnu.org> <83h70xnp43.fsf@gnu.org> <83bkr5ne65.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b38c6805e96babdb" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26905"; 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 15:02:58 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 1oc4o5-0006o5-RL for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Sep 2022 15:02:57 +0200 Original-Received: from localhost ([::1]:36630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oc4o4-0000r9-NN for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Sep 2022 09:02:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc4XL-0003rU-3G for emacs-devel@gnu.org; Sat, 24 Sep 2022 08:45:39 -0400 Original-Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]:45838) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oc4XJ-0003eD-2e; Sat, 24 Sep 2022 08:45:38 -0400 Original-Received: by mail-yb1-xb32.google.com with SMTP id f189so3017480yba.12; Sat, 24 Sep 2022 05:45:35 -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=kuNh4zeeokAmmBRz5QPwn/dYMkmdfIOkaN6lNS4D7AE=; b=mFVnbU+WMtf49j0niK2ywjDiYJ++iyymjnt+a9wZZRjZCKTBOdG7lB2RPZDwT2RBJz OnnuIxmL/YuzB6x4r6lgRrxV3QD0JYmKlLFRrxLNlEXPwBdPfyApJjj4fln/MaAqXCuF 8nD+EaKMnZHgqIfUsLMkuEwPO1qbgk15BALpwP9cpAy58R/39xNqOiVui+O1KdFo35eO PVVYOMVDNN/WRu3tAz1oZuZEZET7llHiqRFVqq4ryeuaY3L/t9uiDq8dtOhR7guwnX0S 2GnQq6PF20jk+AIVvBPyHzYDZXWJIKiyLYyeQ0OQoS2OcVPItSV/g3mqvu74yi27BH20 jH7A== 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=kuNh4zeeokAmmBRz5QPwn/dYMkmdfIOkaN6lNS4D7AE=; b=HWDbRwpoX8UYeRWtuKPLJKi0HbBrqJqvIIfZ9QtDKqazo92obF23dFYwCSP18+N/nq 81eNMwxEYC+99oZI/Aaa0Pm4cxEzqJbm4R3X5KwqaJ2rFlMAf+gStsqryY+nReF4Wy5M vqXNOGAn/dZEAETRl7BIHwXBojV3r84iEgMRPXAE+K2ez1x1fw1Qfn1Fo9XRz4KVARY6 YBvnCBBlfHngyktAdujEb5hKVUFgp9IfIiZQxWwafbE8PckjV6Q3DKqbnpsPWoedNUjP 5d2Ugs+PpztwPp4g/wFn7/Ne4z6QpafZYJRrcXHojLGn1x5Rd9RbMWuAgoAq1VB4mFVy craQ== X-Gm-Message-State: ACrzQf3kbIDLcaSvLIZ2WHfFqUD6aEoIFkJnA/gOn5wOQIeRyvMTE5dE ZBwqd//KgK3AeHM5FHkKDkWXW3rCJqRGM8uzgCFOXCQHGxi2ocsj X-Google-Smtp-Source: AMsMyM4TY/k90gGS7XYGqpeTCBKzEs7grBYCR6HRJzJvG2ASUYmWKXWHODgGzOVCOzW1Vg3dorOs7cG6y9VXY+pnShs= X-Received: by 2002:a05:6902:13c7:b0:695:84d9:c5da with SMTP id y7-20020a05690213c700b0069584d9c5damr13879477ybu.650.1664023534995; Sat, 24 Sep 2022 05:45:34 -0700 (PDT) In-Reply-To: <83bkr5ne65.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::b32; envelope-from=lumarzeli30@gmail.com; helo=mail-yb1-xb32.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:296144 Archived-At: --000000000000b38c6805e96babdb 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? I was answering this question, I thought you were asking what would happen if we pass multiple tags for the same glyph. If that was not what you meant then look at my previous answer: 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 6:05 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 17:39:55 +0530 > > Cc: emacs-devel@gnu.org > > > > It seems to be the case in hb-view too. > > Here is the priority order for "0" in FiraCode > > hb-view --features=3D'cv11,zero' FiraCode-Regular.ttf '0000' -O png > > test.png gives zero > > hb-view --features=3D'cv11,cv12' FiraCode-Regular.ttf '0000' -O png > > test.png gives cv11 > > hb-view --features=3D'cv12,cv13' FiraCode-Regular.ttf '0000' -O png > > test.png gives cv12 > > > > It was also in the case of the Iosevka font file. > > Sorry, I don't understand: what is "it" in this case? > > And how is the priority order relevant to our discussion? I'm > probably missing something here. > --000000000000b38c6805e96babdb 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?

I was answering this question,= I thought you were asking what would happen if we pass multiple tags for t= he same glyph.
If that was not what you meant then look at my pre= vious answer:

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 6:05 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 17:39:55 +0530
> Cc: emacs-dev= el@gnu.org
>
> It seems to be the case in hb-view too.
> Here is the priority order for "0" in FiraCode
> hb-view --features=3D'cv11,zero' FiraCode-Regular.ttf '000= 0' -O png > test.png gives zero
> hb-view --features=3D'cv11,cv12' FiraCode-Regular.ttf '000= 0' -O png > test.png gives cv11
> hb-view --features=3D'cv12,cv13' FiraCode-Regular.ttf '000= 0' -O png > test.png gives cv12
>
> It was also in the case of the Iosevka font file.

Sorry, I don't understand: what is "it" in this case?

And how is the priority order relevant to our discussion?=C2=A0 I'm
probably missing something here.
--000000000000b38c6805e96babdb--