emacs-devel
[Top][All Lists]
Advanced

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

Re: Ligatures


From: tomas
Subject: Re: Ligatures
Date: Mon, 18 May 2020 19:24:41 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, May 18, 2020 at 01:05:53PM -0400, Stefan Monnier wrote:
> [ I know nothing about the underlying APIs and such, so speaking here
>   only as a random user.  ]

[...]

> So, maybe we don't need very much info: all we need is a boolean which
> tells us whether the glyph should be treated atomically or not.
> When not treating it atomically, we would (somewhat arbitrarily) divide
> the glyph horizontally into N equal sized "subglyphs" and draw the
> cursor on the corresponding subglyph.

I'm somewhat out of my depth here, but I have the hunch that some
"ligatures" aren't "just stacked horizontally".

> If Harfbuzz could tell us more precisely how to divide the glyph into
> subglyphs, we could do a better job, of course.

On a very superficial glance it seems they can [1]

Cheers
[1] 
https://github.com/harfbuzz/harfbuzz/blob/master/docs/usermanual-clusters.xml
-- tomás

Attachment: signature.asc
Description: Digital signature


reply via email to

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