<div dir="ltr"><div dir="ltr" style="font-size:12.8px">I think <a href="https://cs.chromium.org/chromium/src/third_party/WebKit/Source/platform/fonts/SymbolsIterator.cpp" target="_blank">this file</a>, specially the SymbolsIterator::consume, contains the logic you are looking for.</div><div>(reposting directly sent mail)</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 28, 2016 at 9:17 AM, Kelvin Ma <span dir="ltr"><<a href="mailto:kelvinsthirteen@gmail.com" target="_blank">kelvinsthirteen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Since emojis have to be shaped separately from all the other text, how do I separate out the emojis from the text? Previously I just had an enormous list of unicode emoji codepoints and I would filter them out beforehand, but this doesn’t work with ligature-emojis like family, flag, or skin color emojis, which don’t have singular unicode codepoints. What’s the preferred way for handling emojis in text shaping then?<br></div>
<br>_______________________________________________<br>
HarfBuzz mailing list<br>
<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/harfbuzz" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
<br></blockquote></div><br></div>