ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Noto Emoji fonts
@ 2019-12-07 23:04 Pablo Rodriguez
  2019-12-07 23:21 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2019-12-07 23:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Noto Emoji fonts
  2019-12-07 23:04 Noto Emoji fonts Pablo Rodriguez
@ 2019-12-07 23:21 ` Hans Hagen
  2019-12-08 11:08   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2019-12-07 23:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Noto Emoji fonts
  2019-12-07 23:21 ` Hans Hagen
@ 2019-12-08 11:08   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2019-12-08 11:08 UTC (permalink / raw)
  To: ntg-context

On 12/8/19 12:21 AM, Hans Hagen wrote:
> On 12/8/2019 12:04 AM, Pablo Rodriguez 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
> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-08 11:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-07 23:04 Noto Emoji fonts Pablo Rodriguez
2019-12-07 23:21 ` Hans Hagen
2019-12-08 11:08   ` Pablo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).