[HarfBuzz] Using Harfbuzz & ICU & Glyphy in OpenES2 Engine
jjc at jclark.com
Thu Feb 13 05:54:03 CET 2014
On Thu, Feb 13, 2014 at 5:48 AM, Behdad Esfahbod <behdad at behdad.org> 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
> find the best break opportunity to fill the line. That can be
> mid-HarfBuzz-cluster. After that, you reshape the line, but can continue
> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the HarfBuzz