|
From: | Oleksandr Gavenko |
Subject: | Do Emacs support font ligatures? |
Date: | Sun, 25 Sep 2016 22:11:28 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Today raising popularity of programming fonts with ligatures: * https://github.com/i-tu/Hasklig * https://github.com/tonsky/FiraCode * https://github.com/larsenwork/monoid Of course Emacs has trick with (font-lock-add-keywords 'emacs-lisp-mode `(("(\\<\\(lambda\\)\\>" (1 (progn (compose-region (match-beginning 1) (match-end 1) ,(make-char 'greek-iso8859-7 107)) font-lock-keyword-face)) ))) and I think even formalized library: prettify-symbols-mode but I interested if ligatures supported by font rendering engines behind Emacs. Actually author of FiraCode collect tricks how to achieve similar effect in Emacs with his font: https://github.com/tonsky/FiraCode/wiki/Setting-up-Emacs -- http://defun.work/
[Prev in Thread] | Current Thread | [Next in Thread] |