On Thu, Feb 13, 2014 at 5:48 AM, Behdad Esfahbod <[email protected]> wrote:
> > In short: You shape the whole paragraph using HarfBuzz, then create a > line-break iterator with ICU and walk the text and glyph string together > and > find the best break opportunity to fill the line. That can be > mid-HarfBuzz-cluster. After that, you reshape the line, but can continue > with > the original shaped-paragraph for the next lines. > I was wondering how this is supposed to deal with hyphenated Arabic text. The css3-text spec says: "When shaping scripts such as Arabic are allowed to break within words due to hyphenation, the characters must still be shaped as if the word were not broken." When the line after the hyphenated break is reshaped, how do you get the first character to be shaped as a medial rather than an initial? James
_______________________________________________ HarfBuzz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/harfbuzz
