From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Enabling stylistic sets Date: Wed, 06 Sep 2023 18:34:45 +0300 Message-ID: <83msxz1fje.fsf@gnu.org> References: <6c3d5ffb-2361-4ed5-b057-665580ea991b@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1288"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 06 17:36:20 2023 Return-path: Envelope-to: geh-help-gnu-emacs@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 1qduZn-000Ac6-QD for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 06 Sep 2023 17:36:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qduYW-0000oy-AP; Wed, 06 Sep 2023 11:35:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qduYV-0000oe-D0 for help-gnu-emacs@gnu.org; Wed, 06 Sep 2023 11:34:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qduYV-00086j-1Q for help-gnu-emacs@gnu.org; Wed, 06 Sep 2023 11:34:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=8ehbtKAQraf9BOriRWFrRb9vQlBKjz+ZWarRlI8lpzw=; b=HnuE6E8ehkYBdyX2AAEa Q32aiajs5M3/n75sYpazratIw57OuW8fx6qsVhSrg6M/7OXN0KHzg+pAtZb23HVW8QVsFFgm4Qrh9 tFmwZpF0UE73IbgH9rx6FFwmoplGjc//gRQZsA3/rXjiA/jiHXq0FuAimwpM9XqJj4fFQyoG7GMhd N9Krv67sOOsyBJPl9qYQNB+YfmEO+et6455PD9LdTwaGpPEPWnqQOsV4J3uXxWkEjjpOQNSBLQ8lk +jLbnaNSDitQ7mJ4KjXRYD9jfk9TzJNS3lxbgL3/33sLnkiZpx+xrJPHbu7uIPck6olyeor8TJNPY I+auyX+ZomVSEQ==; In-Reply-To: <6c3d5ffb-2361-4ed5-b057-665580ea991b@gmail.com> (message from Karan Ahlawat on Wed, 6 Sep 2023 19:29:43 +0530) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145081 Archived-At: > Date: Wed, 6 Sep 2023 19:29:43 +0530 > From: Karan Ahlawat > > Is there any way to enable stylistic sets in Emacs? > > I have set the fontfeatures I want enabled in a fontconfig configuration > file. It works everywhere else, but Emacs. Now, seeing as how > ligature.el is able to leverage Emacs built with Harfbuzz for enabling > ligatures, is there someĀ  way to enable stylistic sets as well? Emacs doesn't (yet) support stylistic sets. There's a TODO item to add this, with some initial ideas, so patches are welcome. (One of the aspects of this which needs to be figured out up front is how to let Lisp programs and users tell Emacs when to use what stylistic sets and what set to use for which parts of text; ideas and proposals are welcome.)