On 12/8/19 12:21 AM, Hans Hagen wrote:
[...] Would it be possible that Noto Color Emoji font works with ConTeXt? [...] What makes you think they don't work? Color emoji work when you enable
On 12/8/2019 12:04 AM, Pablo Rodriguez wrote: the right feature and choose a reasonable font. There is some info in presentations but also in various documents and articles.
Many thanks for your reply, Hans. I understand now what I was missing with color fonts. I paged through the presentations months ago, but I must admit I didn’t understand them (and I thought I’d never use color emoji fonts 😅).
but ... of course your font should provide them which is not always the case and noto is not the most complete one (as you're on windows, consider seguiemj)
I’m on Windows only at work. At home, I use Linux. I discovered https://github.com/mozilla/twemoji-colr/releases/latest/. But it has an issue with sizes, it doesn’t scale well: \definefontfamily[emoj][rm][TeX Gyre Pagella] \definefontfamily[emoj][cg][Twemoji Mozilla][features={color}] \setupbodyfont[emoj] \starttext Mx{\cg🇬🇧}\\ \tfa Mx{\cg🇬🇧}\\ \tfb Mx{\cg🇬🇧}\\ \tfc Mx{\cg🇬🇧}\\ \tfd Mx{\cg🇬🇧}\\ \scale[width=\textwidth]{M}\\ \scale[width=\textwidth]{x}\\ \scale[width=\textwidth]{{\cg🇬🇧}}\\ \stoptext BTW, which is the way to get any of the glyphs "" (from Noto Emoji)? I get the conditional work in "\doiftext{}{yes}", but no glyph is displayed when using it. Many thanks for your help, Pablo -- http://www.ousia.tk