[Top][All Lists]

[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: Sat, 03 Jan 2015 11:44:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0

On 01/02/2015 05:07 PM, Eli Zaretskii wrote:
>> From: Yuri D'Elia <>
>> Date: Fri, 02 Jan 2015 17:00:31 +0100
>>> 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.
> I'm probably missing something, and I'm certainly not an expert on OTF
> fonts, in Emacs or elsewhere.  But if what you want is display several
> characters as a single glyph, the way to do that in Emacs is define
> composition rules.

Composition generates at most a sequence of precomposed utf code points,
such as æ. This is done at the client level and is font-agnostic.

OTF ligatures instead are glypt replacement tables which are provided
for a sequence of characters in the font itself. This is mostly needed
to improve the rendering for languages such as arabic.

The issue is that it needs special support in the client, since
previously drawn glypts might change as a result of typing.

I was under the impression that ligatures were supported by looking at

reply via email to

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