[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ligatures
From: |
Clément Pit-Claudel |
Subject: |
Re: Ligatures |
Date: |
Tue, 19 May 2020 11:30:22 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 19/05/2020 10.55, Pip Cet wrote:
> On Mon, May 18, 2020 at 7:40 PM Clément Pit-Claudel
> <address@hidden> wrote:
>>> And this is where it gets back to "let's not hardcode the dependency
>>> on Harfbuzz and FreeType, because other backends might actually give
>>> us the information we need".
>>
>> Harfbuzz can give us this info: hb_ot_layout_get_ligature_carets
>
> Thanks, I hadn't looked there!
>
> So Harfbuzz provides a non-core API which, after a separate call for
> each cluster, allows us to split up a glyph into non-overlapping
> bounding boxes of the same height (the information returned is
> one-dimensional, and intended for carets, not for Emacs-style box
> cursors).
Are you worried about the height of the box? For the width part, isn't it just
the difference between two consecutive carets?
> I don't see how that API design is so great we should hardcode
> dependencies on it, though I do agree it's sufficient to work with.
No opinions there ^^
- Re: Ligatures, (continued)
- Re: Ligatures, Clément Pit-Claudel, 2020/05/18
- Re: Ligatures, Eli Zaretskii, 2020/05/19
- Re: Ligatures, Clément Pit-Claudel, 2020/05/19
- Re: Ligatures, Eli Zaretskii, 2020/05/19
- Re: Ligatures, Clément Pit-Claudel, 2020/05/19
- Re: Ligatures, Tassilo Horn, 2020/05/19
- Re: Ligatures, Stefan Monnier, 2020/05/18
- Re: Ligatures, Clément Pit-Claudel, 2020/05/19
- Re: Ligatures, Clément Pit-Claudel, 2020/05/18
- Re: Ligatures, Pip Cet, 2020/05/19
- Re: Ligatures,
Clément Pit-Claudel <=
- Re: Ligatures, Pip Cet, 2020/05/19
- Re: Ligatures, tomas, 2020/05/18
- Re: Ligatures, Eli Zaretskii, 2020/05/18
- Re: Ligatures, tomas, 2020/05/18
- Re: Ligatures, Eli Zaretskii, 2020/05/18
- Re: Ligatures, Stefan Monnier, 2020/05/18
- Re: Ligatures (was: Unify the Platforms: Cairo+FreeType+Harfbuzz Everywhere (except TTY)), Clément Pit-Claudel, 2020/05/18
- Re: Ligatures (was: Unify the Platforms: Cairo+FreeType+Harfbuzz Everywhere (except TTY)), Eli Zaretskii, 2020/05/18
- Re: Ligatures (was: Unify the Platforms: Cairo+FreeType+Harfbuzz Everywhere (except TTY)), Clément Pit-Claudel, 2020/05/18
- Re: Ligatures (was: Unify the Platforms: Cairo+FreeType+Harfbuzz Everywhere (except TTY)), Eli Zaretskii, 2020/05/18