[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: otf ligature rendering support?
From: |
Yuri D'Elia |
Subject: |
Re: otf ligature rendering support? |
Date: |
Fri, 02 Jan 2015 17:00:31 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 |
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.