The Twemoji Mozilla font bundled in Firefox can also be used by ConTeXt Mark IV packaged in Debian. Processing the following file by /usr/bin/context generates the attached PDF file.
\definefontfeature
[overlay]
[default]
[ccmp=yes,
colr=yes,
dist=yes]
\definefontsynonym
[emoji]
[file:TwemojiMozilla.ttf*overlay]
\starttext
\emoji{family man woman girl boy}
\stoptext
Ryutaroh Matsumoto
Ryutaroh Matsumoto <[email protected]>:
>
> Package: firefox
> Version: 68.0.2-3
> Followup-For: Bug #849602
> Control: retitle -1 font TwitterMozilla can be installed below
> /usr/share/fonts
>
> Dear Maintainer,
>
> EmojiOne in Firefox was replaced by Twemoji distributed by Twitter.
> TwemojiMozilla.ttf in Firefox 68 is COLR/CPAL format in opentype
> https://docs.microsoft.com/en-us/typography/opentype/spec/colr
> which is not a bitmap font format and gives better scaling result
> than the bitmap font format.
>
> On the other hand Noto Color Emoji by Google is in CBDT format
> https://docs.microsoft.com/en-us/typography/opentype/spec/cbdt
> which is the bitmap.
> In Debian there seems no color emoji font in COLR/CPAL format.
>
> COLR/CPAL color font format is supported in gimp
> https://gitlab.gnome.org/GNOME/gimp/issues/1663
> and harftex https://github.com/khaledhosny/harftex
> Support request is filed against LibreOffice
> https://bugs.documentfoundation.org/show_bug.cgi?id=104403
>
> Addition of another emoji font in COLR format to /usr/share/fonts
> may be useful for Debian.
>
> Best regards,
> Ryutaroh Matsumoto
twemoji-mozilla.pdf
Description: Adobe PDF document

