[HarfBuzz] harfbuzz-ng: Branch 'master'

Tom Hacohen tom.hacohen at partner.samsung.com
Wed May 11 00:11:14 PDT 2011


On Tue, 2011-05-10 at 14:17 -0400, Behdad Esfahbod wrote:
> I'm hesitant to offer API for purely optimization purposes.
> 
> In this case, it's not even possible to offer a meaningful API since the user
> is free to fetch the glyph array and manipulate it as they wish.  So, if there
> is going to be an API, it has to recalculate the monotonicity result every
> time you call it.  At which point, you may as well just do the check yourself.
I agree, especially since it's very easy to calculate it myself.

> For clusters to be useful they have to be monotonic.  I think we have bugs in
> that right now, but they're bugs that should be fixed.

Yeah, that's right, otherwise you can't really find the source pos of a
given glyph, I wonder what they do with the Indic scripts, because it's
probably a mess there. Maybe an additional "source_pos" field is needed?

--
Tom.




More information about the HarfBuzz mailing list