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: otf ligature rendering support? Date: Fri, 02 Jan 2015 16:25:42 +0100 Message-ID: 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 1420212621 5757 80.91.229.3 (2 Jan 2015 15:30:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Jan 2015 15:30:21 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 02 16:30:16 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 1Y74B6-0005x9-36 for ged-emacs-devel@m.gmane.org; Fri, 02 Jan 2015 16:30:16 +0100 Original-Received: from localhost ([::1]:51677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y74B5-0006bB-Ck for ged-emacs-devel@m.gmane.org; Fri, 02 Jan 2015 10:30:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y74B1-0006b4-7c for emacs-devel@gnu.org; Fri, 02 Jan 2015 10:30:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y74Ax-0007a8-96 for emacs-devel@gnu.org; Fri, 02 Jan 2015 10:30:11 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:49867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y74Ax-0007VV-3R for emacs-devel@gnu.org; Fri, 02 Jan 2015 10:30:07 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y74At-0005qn-Kp for emacs-devel@gnu.org; Fri, 02 Jan 2015 16:30:03 +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 16:30:03 +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 16:30:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 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 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:180924 Archived-At: Hi everyone, I'm not fully aware of how much otf is supported in emacs, but I found a good reason to want ligatures in a monospaced font: http://www.fsd.it/fonts/pragmatapro/PragmataPro_Haskell_liga.png 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?