From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: How is a composition being done? Date: Mon, 16 Aug 2010 16:22:51 +0900 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1281943397 27211 80.91.229.12 (16 Aug 2010 07:23:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Aug 2010 07:23:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: James Cloos Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 16 09:23:14 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oku2L-0005I9-VF for ged-emacs-devel@m.gmane.org; Mon, 16 Aug 2010 09:23:14 +0200 Original-Received: from localhost ([127.0.0.1]:58856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oku2L-0004ia-72 for ged-emacs-devel@m.gmane.org; Mon, 16 Aug 2010 03:23:13 -0400 Original-Received: from [140.186.70.92] (port=47666 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oku2B-0004hU-3z for emacs-devel@gnu.org; Mon, 16 Aug 2010 03:23:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oku25-0003wg-A5 for emacs-devel@gnu.org; Mon, 16 Aug 2010 03:23:03 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:48128) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oku24-0003wC-Mk for emacs-devel@gnu.org; Mon, 16 Aug 2010 03:22:57 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id o7G7MqMi021031; Mon, 16 Aug 2010 16:22:52 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id o7G7Mq16018450; Mon, 16 Aug 2010 16:22:52 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id o7G7MqTQ007744; Mon, 16 Aug 2010 16:22:52 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.71) (envelope-from ) id 1Oku1z-0007Eg-Tz; Mon, 16 Aug 2010 16:22:51 +0900 In-Reply-To: (message from James Cloos on Fri, 13 Aug 2010 07:58:55 -0400) X-detected-operating-system: by eggs.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:128782 Archived-At: In article , James Cloos writes: > f-ligs are the lugatures which start with a miniscule f. The most > common ones are fi, fl, ff, ffi, ffl; some fonts have fj; some even > have ligatures like fb, fk or ft which are only found at syllable > boundries. Ah, I see. >>> I'd like to see emacs use f-ligs when in variable pitch mode. >>> My guess is that a function which applies the GSUB liga feature would be >>> the right solution, since monowidth fonts usualy avoid that. KH> Yes, I think so. But, for that, we must at first implement KH> a function to apply specific OpenType features. > Yes, that would be ideal. > Perhaps the faces could specify which features should be applied, just > like they currently specify styles. The default set could be those > which are generally applied by opentype-aware programs for the given > scripts. > I would also be useful to have a way to add features for a given span > of text. Perahps overlays could be used (abused?) for that? If we make face to specify such features, we can naturally use text property and/or overlay because both of them can have `face' property. --- Kenichi Handa handa@m17n.org