Re: [HarfBuzz] Clusters chapter

2018-11-08 Thread Behdad Esfahbod
Correct. On Thu, Nov 8, 2018 at 2:04 PM Nathan Willis wrote: > > > On Fri, Nov 2, 2018 at 4:00 PM Behdad Esfahbod wrote: > >> >> There's two things: >> >> 1. Whether or not the input clusters are monotonic, >> >> 2. Whether buffer cluster-level is set to any of the monotonic enum >> values.

Re: [HarfBuzz] Clusters chapter

2018-11-08 Thread Nathan Willis
On Fri, Nov 2, 2018 at 4:00 PM Behdad Esfahbod wrote: > > There's two things: > > 1. Whether or not the input clusters are monotonic, > > 2. Whether buffer cluster-level is set to any of the monotonic enum > values. > > So digging into that enum and related functions a little, in _MONOTONE_GR

Re: [HarfBuzz] Clusters chapter

2018-11-02 Thread Khaled Hosny
On Fri, Nov 02, 2018 at 03:47:31PM -0500, Nathan Willis wrote: > Finally, I am adding a short "why your software cares about clusters" > paragraph to the beginning. I've got cursor positioning, coloring > diacritics, and line breaking in mind; anything else worth mentioning? In addition to what Be

Re: [HarfBuzz] Clusters chapter

2018-11-02 Thread Behdad Esfahbod
Also things like generating PDFs that have better extractable text. On Fri, Nov 2, 2018 at 5:00 PM Behdad Esfahbod wrote: > On Fri, Nov 2, 2018 at 4:48 PM Nathan Willis > wrote: > >> Hiyo. I'm revisiting the 'clusters' chapter in the User Manual, to make >> it more consistent with the rest and

Re: [HarfBuzz] Clusters chapter

2018-11-02 Thread Behdad Esfahbod
On Fri, Nov 2, 2018 at 4:48 PM Nathan Willis wrote: > Hiyo. I'm revisiting the 'clusters' chapter in the User Manual, to make it > more consistent with the rest and hopefully easier to understand. Rereading > it has raised some questions > > 1) The opening sentence says "a cluster is a sequen

[HarfBuzz] Clusters chapter

2018-11-02 Thread Nathan Willis
Hiyo. I'm revisiting the 'clusters' chapter in the User Manual, to make it more consistent with the rest and hopefully easier to understand. Rereading it has raised some questions 1) The opening sentence says "a cluster is a sequence of code points [...]" ...which might be true for the initia