<div>
                    That would be great. It would mean less work for me to implement of course, but more importantly, with the JS port performance is key, and not having to re-shape everything twice would be really important for us.
                </div>
                <div><div><br></div><div>If there's a way I can help make this happen, let me know.</div><div><br></div><div>-- </div><div>Lóci</div><div><br></div></div>
                 
                <p style="color: #A0A0A8;">On Wednesday, October 24, 2012 at 10:53 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-24 09:33 AM, Lóránt Pintér wrote:</div><blockquote type="cite"><div><div>Having this would be wonderful. Is there a plan to do this in the near future,</div><div>maybe before 1.0?</div></div></blockquote><div><br></div><div>It's probably two hours to get this working...  I'll try to prioritize it.</div><div><br></div><div>behdad</div><div><br></div><div><br></div><blockquote type="cite"><div><div>-- </div><div>Lorant</div><div><br></div><div>On Wednesday, October 24, 2012 at 6:23 PM, Behdad Esfahbod wrote:</div><div><br></div><blockquote type="cite"><div><div>On 12-10-23 10:43 PM, Konstantin Ritt wrote:</div><blockquote type="cite"><div><div>2012/10/23 Behdad Esfahbod <behdad@behdad.org <<a href="mailto:behdad@behdad.org">mailto: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</div><div>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></blockquote></div></blockquote></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>