<div>
Having this would be wonderful. Is there a plan to do this in the near future, maybe before 1.0?
</div>
<div><div><br></div><div>-- </div><div>Lorant</div><div><br></div></div>
<p style="color: #A0A0A8;">On Wednesday, October 24, 2012 at 6:23 PM, Behdad Esfahbod wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div><div>On 12-10-23 10:43 PM, Konstantin Ritt wrote:</div><blockquote type="cite"><div><div>2012/10/23 Behdad Esfahbod <<a href="mailto:behdad@behdad.org">behdad@behdad.org</a>>:</div><blockquote type="cite"><blockquote type="cite"><div><div>On 12-10-17 08:22 PM, Lóránt Pintér wrote:</div><blockquote type="cite"><blockquote type="cite"><div><div><br></div><div>This could work, but I would basically have to shape the whole text twice.</div><div>That doesn't sound right. Or does it?</div></div></blockquote></blockquote><div><br></div><div>It actually is what you need to do, and what Pango does for example. Now, I</div><div>like to add API to HarfBuzz that would improve this, and you would essentially</div><div>just need to reshape the cluster at the linebreak position, but for now, you</div><div>need to reshape each line.</div></div></blockquote></blockquote><div>Are you saying about re-introducing the Unicode Segmentation algorithm</div><div>implementation to Harfbuzz? Hope you're not :)</div></div></blockquote><div><br></div><div>No. Unicode segmentation algorithm is not really helpful here. What HarfBuzz</div><div>can tell you is this: for each position in the text, it can tell you whether</div><div>breaking the string here and shaping the two sides separately and</div><div>concatenating the resulting glyphstrings will result in the same glyphstring</div><div>that you get if you shape the full string. No other code can tell you that,</div><div>since it depends on how the font lookups work.</div><div><br></div><div>behdad</div><div><br></div><blockquote type="cite"><div>Konstantin</div></blockquote></div></div></span>
</blockquote>
<div>
<br>
</div>