ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: Noto Emoji fonts
Date: Sun, 8 Dec 2019 12:08:48 +0100	[thread overview]
Message-ID: <69477c77-26cf-4510-5e14-a1c838ee6066@gmx.es> (raw)
In-Reply-To: <530d0ffd-fb32-b2f0-36d8-75c5458390d4@xs4all.nl>

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
___________________________________________________________________________________

      reply	other threads:[~2019-12-08 11:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-07 23:04 Pablo Rodriguez
2019-12-07 23:21 ` Hans Hagen
2019-12-08 11:08   ` Pablo Rodriguez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=69477c77-26cf-4510-5e14-a1c838ee6066@gmx.es \
    --to=oinos@gmx.es \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).