[HarfBuzz] emoji shaping

Ebrahim Byagowi ebraminio at gmail.com
Tue Jun 28 23:01:34 UTC 2016


I think this file
<https://cs.chromium.org/chromium/src/third_party/WebKit/Source/platform/fonts/SymbolsIterator.cpp>,
specially the SymbolsIterator::consume, contains the logic you are looking
for.
(reposting directly sent mail)

On Tue, Jun 28, 2016 at 9:17 AM, Kelvin Ma <kelvinsthirteen at gmail.com>
wrote:

> 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?
>
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/harfbuzz
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20160629/378b75a1/attachment.html>


More information about the HarfBuzz mailing list