From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.devel Subject: Re: otf ligature rendering support? Date: Sat, 03 Jan 2015 17:38:40 +0100 Message-ID: <54A81B10.9090908@thregr.org> References: <87egrb3ndk.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1420303153 24329 80.91.229.3 (3 Jan 2015 16:39:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Jan 2015 16:39:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 03 17:39:06 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y7RjF-0001pt-6I for ged-emacs-devel@m.gmane.org; Sat, 03 Jan 2015 17:39:05 +0100 Original-Received: from localhost ([::1]:54715 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7RjE-0003QY-DL for ged-emacs-devel@m.gmane.org; Sat, 03 Jan 2015 11:39:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7RjA-0003QT-Nx for emacs-devel@gnu.org; Sat, 03 Jan 2015 11:39:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7Rj7-0005uR-II for emacs-devel@gnu.org; Sat, 03 Jan 2015 11:39:00 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:48135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7Rj7-0005tz-Am for emacs-devel@gnu.org; Sat, 03 Jan 2015 11:38:57 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y7Rj2-0001lD-Il for emacs-devel@gnu.org; Sat, 03 Jan 2015 17:38:52 +0100 Original-Received: from adsl-ull-223-77.49-151.net24.it ([151.49.77.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Jan 2015 17:38:52 +0100 Original-Received: from wavexx by adsl-ull-223-77.49-151.net24.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 Jan 2015 17:38:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-ull-223-77.49-151.net24.it User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 In-Reply-To: <87egrb3ndk.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:180946 Archived-At: On 01/03/2015 04:16 PM, K. Handa wrote: > Currently, Emacs can not control which OTF features to apply. Emacs > leaves it to font drivers on eash platform. I actually tried to give > Emacs such facility, and src/font.c contains not-yet-finished code > within "#if 0" and "#endif". > > I want to finish the code, but I'm not sure I can work on it soon. So this means that OTF features are supported, but not directly user controllable yet? > By the way, if you are running Emacs on X with libm17n-flt and libotf > libraries, you can override the default behavior of those libraries > by putting the attached two files under ~/.m17n.d/. It assumes that > the family name of PragmataPro font is "PragmataPro". If that is not > the case, please replace "PragmataPro" in generic.fst with a proper > family name. I'm using debian unstable with 24.4.1, m17n is enabled and m17n-db. It doesn't look like ~/.m17n.d/ is ever read (I tried to run emacs through strace). It's stat(2)-ed a couple of times, and that's it. I tried to use m17n-edit, and it tries to read a couple of unexisting files in ~/.m17n.d/, but not generic.fst/COMBINING.flt