From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nicolas Ouellet-payeur Newsgroups: gmane.emacs.devel Subject: Re: Supporting stylistic sets Date: Mon, 26 Sep 2022 13:46:40 -0400 Message-ID: References: <83wn9up0es.fsf@gnu.org> <83h70yotd4.fsf@gnu.org> <83a66pq2b1.fsf@gnu.org> <835yhakqsi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32354"; 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 Mon Sep 26 20:07:31 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 1ocsVu-0008Jf-9t for ged-emacs-devel@m.gmane-mx.org; Mon, 26 Sep 2022 20:07:30 +0200 Original-Received: from localhost ([::1]:43324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocsVt-0003pp-81 for ged-emacs-devel@m.gmane-mx.org; Mon, 26 Sep 2022 14:07:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocsC0-0006dZ-Hz for emacs-devel@gnu.org; Mon, 26 Sep 2022 13:47:05 -0400 Original-Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:44881) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ocsBy-0003P7-Vr for emacs-devel@gnu.org; Mon, 26 Sep 2022 13:46:56 -0400 Original-Received: by mail-lf1-x130.google.com with SMTP id i26so12023519lfp.11 for ; Mon, 26 Sep 2022 10:46:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=1vunaWSgYjkcOcQZQLPC4Zq0pwWRdxA3hc2moSaTuuw=; b=VT1iC4LncpOej+KRKakjaLwK9+bhA8Z2fsBCkzWnlYealWgsc3o43mX3XoPdIceRVl QvUSYe5yCuJMATQzVCILQ1agK5Al3TlAdr5icYy/wWnMD/AnXttKmna+6+964ezuwNg+ ScyD7RbvM2HH4si7NlGPhPSJZy559U+XYcBicz1izJGRHt/VdzvjmrmGeShwOaxWU0uV 6iztET9DoHw1MH3ITvGUjPsXDwY8UiKCe86A8ovhkvkb87Az6lxJuxcS5y1sXxw9Wh0/ xMCF6LY1bEzf3Ht+PQyqG0d69/zRUzH8zHpJJZMp3WH6kvkq8PbC7tMvGyNcwldutrqE lc/A== 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=1vunaWSgYjkcOcQZQLPC4Zq0pwWRdxA3hc2moSaTuuw=; b=1ICYbVLi3YtHYeSXU5g3Cvo4cPP7MWPdezsHEn7ljTihvzt1Y2u7fDVg+rJE9EewvO FIl3OGw6rRBklOtxdjH8Z3vEGGfsBX6kD+0291OFTxu8MqEUXDVyLFPPzukh7iUFbszH 8j6Uyt62ej6iUFIAzKOt4qDT4eX7+KoLzJwHznWm4bV3IkBDwpD4ANQ01vYAnCqTDV1F o59Q1dr08LyjmTPH7zSda4ArY0KEWb20T9F2F72ddRJ4oc5amAoTkq2v/8pkxrQqDJjI LGUasRo2RkAG3GVczgB/jr/hdRnBFeLOdX7TTnKfhvd1TYflcCYYxJX+C4rDjBE82bpE 9YrQ== X-Gm-Message-State: ACrzQf34qnVZls0PInKZJwk4nxFO2+6OYIhcdcH1jl/UB9vUMXNcg6Dy U8TiNFypQ6ajVQGIhDYmzNa6r4b6eIbeOjx9wGairg== X-Google-Smtp-Source: AMsMyM4eMyqUtGlHrVrB3etDoRr6JmXTZYIGw7oxrz5hrbGyX88uuqSzJcFDXAwkMcJZBa5o0xdH2YaY6hn1HiFQeSc= X-Received: by 2002:a05:6512:3f9a:b0:4a0:2af3:4523 with SMTP id x26-20020a0565123f9a00b004a02af34523mr8574254lfa.184.1664214412796; Mon, 26 Sep 2022 10:46:52 -0700 (PDT) In-Reply-To: <835yhakqsi.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=nicolaso@google.com; helo=mail-lf1-x130.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 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:296296 Archived-At: > That would disable ligation in complex script shaping, where it is a > must. That's why the default mode-line would have a text property on the parts that are likely to ligate. e.g. if my mode-line reads like: -:--- foo.c All L1 (C Abbrev) Then we'd apply this text property on the "-:---" part. > This slowness is the main disadvantage of our current method of > handling character compositions. (It also has numerous advantages.) > If we want to progressively increase the use of text-shaping engines > when rendering text, we will need to redesign this part What do you mean by "this part" specifically? The part where we call into Lisp for any character in `composition-function-table'? Or the fact that we do a regex match each time? > The status quo is NOT that we don't support ligatures. The support is > available Of course. By OOTB (out-of-the-box) I meant reading the GSUB table so we can apply ligatures *without* requiring manual configuration. i.e. making the shaping engine do the heavy lifting. Are we OK with the status quo then, where ligatures have to be manually configured? In that case, I could send a patch to remove that item from etc/TODO.