help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: otf ligature rendering support?


From: Eli Zaretskii
Subject: Re: otf ligature rendering support?
Date: Fri, 02 Jan 2015 17:45:09 +0200

> From: Yuri D'Elia <wavexx@thregr.org>
> Date: Fri, 02 Jan 2015 16:32:31 +0100
> 
> 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?

I think you need to define rules for composing characters into
ligatures, in order to have what you want.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]