Hi Hans, which is the way I can get the glyphs from the second line in the following sample? \definefontfamily[emoj][rm][Noto Emoji] \setupbodyfont[emoj] \starttext 🔔💻🔨🔩 󾓧󾓨󾓩󾓪󾓫󾓬ó¾“󾓮 \stoptext Would it be possible that Noto Color Emoji font works with ConTeXt? I think this is handy, since they are useful in presentations. In fact, I need one flag (in the second line form the sample) for one presentation. Many thanks for your help, Pablo -- http://www.ousia.tk
On 12/8/2019 12:04 AM, Pablo Rodriguez wrote:
Hi Hans,
which is the way I can get the glyphs from the second line in the following sample?
\definefontfamily[emoj][rm][Noto Emoji] \setupbodyfont[emoj] \starttext 🔔💻🔨🔩 󾓧󾓨󾓩󾓪󾓫󾓬ó¾“󾓮 \stoptext
Would it be possible that Noto Color Emoji font works with ConTeXt?
I think this is handy, since they are useful in presentations. In fact, I need one flag (in the second line form the sample) for one presentation.
What makes you think they don't work? Color emoji work when you enable the right feature and choose a reasonable font. There is some info in presentations but also in various documents and articles. texmf/doc/context/presentations/bachotex/2017/* has some info ... you need to enable a feature of choice as we have predefined: \definefontfeature[color:overlay][ccmp=yes,dist=yes,colr=yes] \definefontfeature[color:svg] [ccmp=yes,dist=yes,svg=yes] \definefontfeature[color:bitmap] [ccmp=yes,dist=yes,sbix=yes] \definefontfeature[color] [ccmp=yes,dist=yes,color=auto] 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) (and keep in mind that emoji appearances keep changing, for various reasons) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
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
participants (2)
-
Hans Hagen
-
Pablo Rodriguez