[HarfBuzz] Beginner question: What are cluster levels?

Behdad Esfahbod behdad.esfahbod at gmail.com
Wed Jan 6 06:17:33 PST 2016


On 16-01-05 09:17 PM, Jamie Dale wrote:
> I actually just wrote something to give me very similar information since I
> realised that my basic "this is a ligature" flag wasn't enough data, so each
> of my glyphs now contains the number of characters that the glyph was composed
> from. This, along with the cluster index of the glyph from the source text,
> and the reading direction of the glyph, allow me to work out which characters
> formed the glyph.

Correct.  That's pretty much the only way to do it.

behdad


More information about the HarfBuzz mailing list