On 12-10-17 08:22 PM, Lóránt Pintér wrote: > > This could work, but I would basically have to shape the whole text twice. > That doesn't sound right. Or does it?
It actually is what you need to do, and what Pango does for example. Now, I like to add API to HarfBuzz that would improve this, and you would essentially just need to reshape the cluster at the linebreak position, but for now, you need to reshape each line. behdad > Another issue is, say, there is a context-sensitive substitution that applies > only if there is a space before "1". When I shape the whole text, the lookup > will trigger for the "1" in "1T", because it has a space before. But when I > re-shape only "1T" at the end of the line, the lookup won't be applied. > > I feel like I'm on the wrong track here. Am I missing something obvious? > > -- > Thanks, > Lorant > > > > _______________________________________________ > HarfBuzz mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/harfbuzz > _______________________________________________ HarfBuzz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/harfbuzz
