From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Supporting stylistic sets Date: Sat, 24 Sep 2022 23:42:33 +0700 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> <83a66pnczg.fsf@gnu.org> <837d1sonyc.fsf@gnu.org> <834jwwolyz.fsf@gnu.org> <8335cgol11.fsf@gnu.org> <83y1u8n414.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="18518"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?B?4KS44KSu4KWA4KSwIOCkuOCkv+CkguCkuSBTYW1lZXIgU2luZ2g=?= , 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 18:43:28 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 1oc8FT-0004dr-Pe for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Sep 2022 18:43:27 +0200 Original-Received: from localhost ([::1]:43726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oc8FS-0003ev-Gl for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Sep 2022 12:43:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc8Et-0002x5-3N for emacs-devel@gnu.org; Sat, 24 Sep 2022 12:42:51 -0400 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:39529) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oc8Er-0004bO-JG; Sat, 24 Sep 2022 12:42:50 -0400 Original-Received: by mail-wr1-x435.google.com with SMTP id cc5so4295055wrb.6; Sat, 24 Sep 2022 09:42:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=ELuT7FhkY/dpV5tcAOloewMqXaoIGvTwS7xYLI6l1s4=; b=M9wgMxRrotgwN3WjHDVNRKGgsYnn/Ir+qKi91sk+sKt7Fedv5si0nLkU0cHPoNWM9i qbRTR7BSklgFhf1ShJ/iReF21Doo+4OMNkU0gjwkZKg7Rq41btvBoGWjI/Cirf697I1V v9CuSG74onYfPFr9q0DOke8VbW5fGWCxhK44YaS+O8oSb18zA1OIDR6lnK6K3bVBtaya YlRFhlPCOJFHyUMJQIFFxrzFWB/AVk87ooyiFLmxwX9BEsygr1igB2VkzSaOG6hFNMCx RT4y8ClsNPGULPSW2HVCSeFp/38CkNYCwzY0NMTGjOnLSPlPVh2TfBK8bYbKSz2WidVb EzQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=ELuT7FhkY/dpV5tcAOloewMqXaoIGvTwS7xYLI6l1s4=; b=nAz4yqIcLK3qG9dS/EGXPMpMPX18txQDCoGLLIrPnQgkuBcs8aHBBkZpbLix7+Jstz VJtA29WhVjmN0skFv0OBckOx+L4QVQBUJ0yEmTKIWaHFwQEyU4CesUqrFDiYXJlDCpxh jXgbrSaFde1xwpbyzHgp716De2rI964ra6063arfcI0CjsHpDzzo7AoU82GjPIMBrO52 2eSXrcgAN6GAbU0IGKsCRw13nIfm8m9x1MIGHfI5NTPS3EBOu5PjxdhtdpBBk2ea7kQi dg0dvhJphX3CCh/yB8FiLnYNtJLFVly0HTzza53kkMimCAdUPqduoRqsgtqXSfypcSMG 7vmA== X-Gm-Message-State: ACrzQf1WX/EDfQCBQoi1d1mMrsJ8pz2cSmsmFYySq/1IOTtnoASfw9zL 3GuIuMpP8Grj0vJFglnYHp1BiMHqqs184/4hzTRXAFf7tSo= X-Google-Smtp-Source: AMsMyM4p/QrJT4l9kWWXbklM+MhD12u331GFmXhKji0SSGWt3oZuXZ3LKu9aU4IQCkLs6J4XVI42EPJEERkqDjuzq2Q= X-Received: by 2002:a05:6000:1146:b0:228:d61c:2c83 with SMTP id d6-20020a056000114600b00228d61c2c83mr8846807wrx.332.1664037766133; Sat, 24 Sep 2022 09:42:46 -0700 (PDT) In-Reply-To: <83y1u8n414.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=yurivkhan@gmail.com; helo=mail-wr1-x435.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.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:296168 Archived-At: On Sat, 24 Sept 2022 at 23:15, Eli Zaretskii wrote: > I'm sorry, I still don't understand. (I'm not an expert on fonts, so > I'd appreciate a slightly more detailed explanations.) Are you saying > that each tag can be used by a single character in a font? IOW, no > feature tag can ever be shared by two or more characters in a font? As I understand it, the font has instructions like =E2=80=9Cif stylistic se= t X is in effect, use glyphs Y1, Y2, =E2=80=A6, Yn for characters Z1, Z2, =E2= =80=A6, Zn=E2=80=9D. Depending on the font designer=E2=80=99s whim, there could be separate stylistic sets for each character, sets for multiple characters similar in shape, and/or sets for a group of characters where the user is unlikely to want to control each character separately. For example, Fira Code has a stylistic set =E2=80=98onum=E2=80=99 that appl= ies to all digits. By enabling this, the user signals that they want old-style, aka minuscule, numerals, where certain digits are seated lower relative to the baseline, and/or have a smaller glyph height. (On Windows, see the Georgia font for an example of minuscule digits.) It is a choice that is normally made for all digits as a set, not individually =E2=80=9CI want odd digits to be set as minuscule but even dig= its as default=E2=80=9D. For another example, the stylistic set =E2=80=98cv31=E2=80=99 discussed abo= ve applies to both opening and closing parentheses, as it is unlikely that a user would want different styles for those.