[HarfBuzz] Beginner question: What are cluster levels?

Khaled Hosny khaledhosny at eglug.org
Fri Jan 8 12:08:56 PST 2016


On Fri, Jan 08, 2016 at 04:47:14PM +0000, Behdad Esfahbod wrote:
> Now, if for example, B and C ligate, then the clusters to which they belong
> "merge".  The merged cluster gets the number that is the minimum of the
> cluster number of the clusters that went in.  In this case, we get:
> 
>   A,BC,D,E
>   0,1 ,3,4
> 
> Now let's assume that the BC glyph decomposes into three components, and D
> also decomposes into two.  The components all inherit the cluster value of
> the parent:
> 
>   A,BC0,BC1,BC2,D0,D1,E
>   0,1  ,1  ,1  ,2 ,2 ,3

Shouldn’t that be:
    0,1  ,1  ,1  ,3 ,3 ,4

and so on for the rest of the example?

Regards,
Khaled


More information about the HarfBuzz mailing list