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:20:43 +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="0000000000006f5c3705e9686446" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15615"; 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:52:25 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 1oc0tc-0003xN-Qa for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Sep 2022 10:52:24 +0200 Original-Received: from localhost ([::1]:56712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oc0tb-00030o-6O for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Sep 2022 04:52:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc0sG-0002FK-Ma for emacs-devel@gnu.org; Sat, 24 Sep 2022 04:51:01 -0400 Original-Received: from mail-yw1-x1134.google.com ([2607:f8b0:4864:20::1134]:37769) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oc0sB-0002Xo-W0; Sat, 24 Sep 2022 04:50:57 -0400 Original-Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-3454b0b1b6dso21430687b3.4; Sat, 24 Sep 2022 01:50:55 -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=orR4t9bJetxedsO1vUapk/SwPyRwGC9SXG107LBSdHw=; b=Ks23uWByXXcTrYQne0XFie7+/zdxoLdt+CFWO3O4YnTpAO99hetSTdnJSPxAkc+aGj sOpElpko9uPgj/MQH5ALCHtOr6bEttuVHu2STbmdBJIoMyF33jy3uiHZc7NJCbobps7U 3bwMQU8I26HLF8HQuLd/BtULpl1WNMxqSAhkRUyAH6bJJyvxdm8gVEuPTmJZRSGlwnbS xYpyEdrdke58ckby5kii9UtllvoMTWe9lQkSaRVp+/t1DZ16tluCRNsRQ9ysK96C7g5+ AhA58iSeWncWwSxeRbXdFP4tDff2OlPuTsSnGpTYjGmyAuPeCd+7rI70pjdpt+aicOah oAuA== 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=orR4t9bJetxedsO1vUapk/SwPyRwGC9SXG107LBSdHw=; b=xDHubCkdh9MAdt3nyrrSTNyHFUFlpJwM7Wk4d0FfiRPtRYkLcwIJyEyDvJCS5LwGGu QzIy94Ie+qTsfSSOImx/+SJgs1g+Tb9c8jxiV18+ADDo/ky2qaoxLYt4WwsXO2lFy+xd UnyYLXDDnidlwXzHGaSvECvJn/E1amrdEN5X8nSGrLBiCMiRgx7V40IcpS2Tq6jhFTFO wruNhQV1q5vume1ypDUiJJ0PLwg5xU3WVyNIOa443RQwbLVK5981pSBqYBNwx1n9NqiA /n8+4ZqPNpHcEhyYhAWh+vlF5pb264Uac9UfEUqYvFMmojh7WpTvzJb7Ow/D48H8WMBx yHmA== X-Gm-Message-State: ACrzQf0zMx1MKqgscP0BchOav4V9IFF35s3GYnIfjr9YjmW+trWQA9Fh sOEfza9f1gv8VK26FDq+smkXXl8J8yRWW+X0AwkhzFtmwHIjGA== X-Google-Smtp-Source: AMsMyM59OX0Y3lVXVZqlvuztcbAspFJxXQtFmMRJEaCEgFVHxarVPcAion4J7y5bh5mEesuKg7EH5Elxw2HBfw1eN3A= X-Received: by 2002:a81:10cb:0:b0:34d:9fdf:8741 with SMTP id 194-20020a8110cb000000b0034d9fdf8741mr10375885ywq.172.1664009454442; Sat, 24 Sep 2022 01:50:54 -0700 (PDT) In-Reply-To: <83h70xnp43.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::1134; envelope-from=lumarzeli30@gmail.com; helo=mail-yw1-x1134.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:296133 Archived-At: --0000000000006f5c3705e9686446 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Oops, it seems like I misunderstood the question. For glyphs with more than one tag it seems like the one with the lower value is prioritised when all of the tags are passed. (atleast in LibreOffice) I would have to look into it more. 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? > --0000000000006f5c3705e9686446 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Oops, it seems like I misunderstood the question.
For glyphs with more than one tag it seems like the one with the low= er value is prioritised when all of the tags are passed. (atleast in LibreO= ffice)
I would have to look into it more.

On Sat, Sep 24= , 2022 at 2:09 PM Eli Zaretskii <eliz@gn= u.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?
--0000000000006f5c3705e9686446--