ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jairo A. del Rio" <jairoadelrio6@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Emoji color fonts not working on LMTX/Context MKIV
Date: Wed, 20 May 2020 15:26:09 -0500	[thread overview]
Message-ID: <CAKyqqabQqF=yCTdfsnU7rKirHFS1c7SodGfbdcVmq-_TK+zS6A@mail.gmail.com> (raw)
In-Reply-To: <mailman.228.1590003553.9468.ntg-context@ntg.nl>


[-- Attachment #1.1: Type: text/plain, Size: 1903 bytes --]

I did. It turns out that installing graphicsmagick does the trick (pun
intended) for Noto Color Emoji. However, the issue persists for SVG fonts
and the same message appears, despite of having cleaned the cache (I've
used mtxrun --script cache --erase). Using the code Pablo sent, with
EmojiOne Color instead of Twemoji Mozilla, I get the following error
messages:

LMTX (error):

function call [998]:
...mtx/tex/texmf-context/tex/context/base/mkiv/mlib-svg.lua:1471: bad
argument #1 to 'gsub' (string expected, got nil)


MKIV (outlined emojis, flag emojis not working):

fonts > svg conversion > executing runner 'otfsvg': inkscape
--export-area-drawing --shell > temp-otf-svg-shape.log

fonts > svg conversion > processing 1829 svg containers

xml > core > load error: invalid xml file - parsed text

(the line below repeated dozens of times)

fonts > svg conversion > processing can be going on for a while

fonts > svg conversion > processing 1829 pdf results

fonts > svg conversion > there are no converted shapes, fix your setup

fonts > svg conversion > svg conversion time 4.246 seconds


In any event, LMTX prints only black and white emojis.

On 5/20/2020 9:31 PM, Pablo Rodriguez wrote:
> > On 5/20/20 12:26 PM, Jairo A. del Rio wrote:
> >> [...]
> >> Only Twemoji Mozilla and Segoe UI Emoji worked for me, so, what am I
> >> doing wrong?
> >
> > Hi Jairo,
> >
> > using latest ConTeXt with the following sample, I get these results:
> >
> >    \definefontfamily[emoj][rm][Twemoji Mozilla][features={color}]
> >    \setupbodyfont[emoj]
> >    \starttext
> >    🤦🇬🇧
> >    \stoptext
> >
> > MkIV (2020.01.30 14:13) displays colored icons.
> >
> > LMTX (2020.05.18 16:50) displays only black and white icons.
> >
> > I think this might be a bug in LMTX.
> >
> > Could you confirm the issue?
> what if you wipe the cache
>

[-- Attachment #1.2: Type: text/html, Size: 3238 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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:[~2020-05-20 20:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.228.1590003553.9468.ntg-context@ntg.nl>
2020-05-20 20:26 ` Jairo A. del Rio [this message]
2020-05-20 21:25   ` Hans Hagen
2020-05-20 21:32     ` Jairo A. del Rio
2020-05-20 21:42       ` Jairo A. del Rio
2020-05-21 15:22     ` Pablo Rodriguez
2020-05-20 20:36 ` ntg-context Digest, Vol 191, Issue 66 jkitz
2020-05-20 10:26 Emoji color fonts not working on LMTX/Context MKIV Jairo A. del Rio
2020-05-20 19:31 ` Pablo Rodriguez
2020-05-20 19:39   ` Hans Hagen
2020-05-20 20:18     ` Pablo Rodriguez
2020-05-20 21:30       ` Hans Hagen

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='CAKyqqabQqF=yCTdfsnU7rKirHFS1c7SodGfbdcVmq-_TK+zS6A@mail.gmail.com' \
    --to=jairoadelrio6@gmail.com \
    --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).