unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuri D'Elia <wavexx@thregr.org>
To: emacs-devel@gnu.org
Subject: otf ligature rendering support?
Date: Fri, 02 Jan 2015 16:25:42 +0100	[thread overview]
Message-ID: <m86d9m$1ii$1@ger.gmane.org> (raw)

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?




             reply	other threads:[~2015-01-02 15:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-02 15:25 Yuri D'Elia [this message]
2015-01-03 15:16 ` otf ligature rendering support? K. Handa
2015-01-03 16:38   ` Yuri D'Elia
2015-08-17  1:04   ` YAMAMOTO Mitsuharu
2015-08-17  4:17     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='m86d9m$1ii$1@ger.gmane.org' \
    --to=wavexx@thregr.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).