[Top][All Lists]

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

Re: Ligature support

From: Lars Ingebrigtsen
Subject: Re: Ligature support
Date: Fri, 05 Nov 2021 23:20:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Yuri Khan <yuri.v.khan@gmail.com> writes:

> Looks like they don’t. So, the fonts have a glyph for the ligature
> code point, but it’s opt-in.

Do you happen to know what the opt-in mechanism in HarfBuzz is?

> I can see how people could want to only use a subset of ligatures
> supported by a font. Fira Code has a ton of ligatures for
> multi-character operators in various programming languages, but one
> might prefer to enable ligatures only for the operators that actually
> exist in the language one is working with. Like, in HTML, --> is a
> closing comment delimiter, but in C “while (n --> 0)” only works
> because it’s interpreted as “decrement n and check if its old value
> was greater than zero”.

Good point.

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

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