From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.help Subject: Re: otf ligature rendering support? Date: Fri, 02 Jan 2015 17:00:31 +0100 Message-ID: References: <83tx099ofu.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 1420214478 1065 80.91.229.3 (2 Jan 2015 16:01:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Jan 2015 16:01:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 02 17:01:10 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1Y74f0-0004Tm-5R for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Jan 2015 17:01:10 +0100 Original-Received: from localhost ([::1]:51827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y74ez-0006gL-IK for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Jan 2015 11:01:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y74ej-0006fN-Mj for help-gnu-emacs@gnu.org; Fri, 02 Jan 2015 11:00:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y74eg-0002X5-Ga for help-gnu-emacs@gnu.org; Fri, 02 Jan 2015 11:00:53 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:51360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y74eg-0002Wj-9k for help-gnu-emacs@gnu.org; Fri, 02 Jan 2015 11:00:50 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y74ee-0004J7-I7 for help-gnu-emacs@gnu.org; Fri, 02 Jan 2015 17:00:48 +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 ; Fri, 02 Jan 2015 17:00:48 +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 ; Fri, 02 Jan 2015 17:00:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 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: <83tx099ofu.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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101834 Archived-At: On 01/02/2015 04:45 PM, Eli Zaretskii wrote: >> PragmataPro supports ligatures for a good set of common operators. This >> makes it much less troublesome than "prettify-symbols-mode" since >> indentation/spacing is not changed. >> >> How would I enable the proper GSUB feature in emacs? Are ligatures >> supported at all? >> >> I can specify otf parameters in `font-spec', but the following: >> >> (set-fontset-font nil 'latin >> (font-spec :family "PragmataPro" >> :otf '(latn nil (liga)))) >> >> Doesn't really show any ligatures (or any other otf feature). >> Am I doing something wrong? > > I think you need to define rules for composing characters into > ligatures, in order to have what you want. This is different than composition of unicode ligatures. OTF ligatures are an inherent property of the font along with kerning tables.