[HarfBuzz] Beginner question: What are cluster levels?

Behdad Esfahbod behdad at behdad.org
Fri Jan 8 14:29:48 PST 2016


On Jan 8, 2016 8:09 PM, "Khaled Hosny" <khaledhosny at eglug.org> wrote:
>
> 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?

Right.

> Regards,
> Khaled
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20160108/dbdd0913/attachment.html>


More information about the HarfBuzz mailing list