[HarfBuzz] Getting the number of Graphmes for a ligature

Tom Hacohen tom.hacohen at partner.samsung.com
Tue Oct 26 00:13:13 PDT 2010


On Mon, 2010-10-25 at 21:21 -0400, Behdad Esfahbod wrote:
> That's how it should be done in the current design, and what Pango does
> indeed.  For the last cluster, you need to take the length of the original
> text into account, yes.  I've been thinking about adding a sentinel item at
> the end of the buffer to help with that (setting the cluster index to the
> position after all text), but that fails in the rtl situation.

Thank you very much, I'll do just that.

--
Tom.




More information about the HarfBuzz mailing list