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.devel Subject: Re: Supporting stylistic sets Date: Fri, 23 Sep 2022 18:37:15 +0300 Message-ID: <83wn9up0es.fsf@gnu.org> References: 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="7533"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?utf-8?B?4KS44KSu4KWA4KSwIOCkuOCkv+CkguCkuSBTYW1lZXIgU2luZ2g=?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 23 17:43:17 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 1obkpg-0001oV-Nv for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Sep 2022 17:43:16 +0200 Original-Received: from localhost ([::1]:39916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obkpf-0006Dq-OJ for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Sep 2022 11:43:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obkjx-000742-9K for emacs-devel@gnu.org; Fri, 23 Sep 2022 11:37:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33854) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obkjx-0004k3-1m; Fri, 23 Sep 2022 11:37:21 -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=1k682rPxrci/YDAakuOWCbo+/WuU9JHFneJ5f2L3/lw=; b=A48ym3+H0zCnNqWCOLL7 G8jNgcUv3ve951H3nE4SxqVAFRgv/xZmT76Fb0TWZFYl8llSDISNg5zgelkxxF0GoIOpysOfIwxeZ J1jV5v42MNmxaO3eZHioi3ueobSOvqCwbSjkRTzng/gRGrY2NNiq5GQ9AQfO5RjzB1JG0E+teYFos geO1wkDG+Ch0bzgNEaA59gRxY2Zk+EOYk2qYwvvrVkvX/wRkKu0Y63MQHSMiWMQUjgnOvkw74yDNO fM2CdnHEfnFNr6EB4k4rryDeXoMQ/ZGBlnI1Xrw4TsVM6i2iIb6NbNjeVXKdLs5Efn1XaPEFcjIes riVsLxXltYyzBQ==; Original-Received: from [87.69.77.57] (port=4600 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obkjw-0006Lz-E3; Fri, 23 Sep 2022 11:37:20 -0400 In-Reply-To: (lumarzeli30@gmail.com) 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:296052 Archived-At: > From: समीर सिंह Sameer Singh > > Date: Fri, 23 Sep 2022 18:24:48 +0530 > > I was trying to add stylistic sets in Emacs. Thanks. We have a TODO item for that, please see it. > I was able to successfully able to switch to a different set of a Bengali font by hardcoding it to the hbfont.c > file, but that is obviously not a solution. > > Should I try adding a new font property name "stylistic-set" which would accept a list of values for a font. If so > could I get some pointers on how to add a new font property to emacs. How did you envision this font property to be used in Emacs? The etc/TODO item for that suggests to implement this as a text property instead. That is, of course, not carved in stone, but I think we should in any case decide on how this will be used from Lisp before we talk about how to expose it to Lisp.