Re: [NTG-context] Emoji color fonts not working on LMTX/Context MKIV
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
On 5/20/2020 10:26 PM, Jairo A. del Rio wrote:
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:
So, what version do you use? 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 -----------------------------------------------------------------
Info from \luatexbanner For ConTeXt (LuaTeX): This is LuaTeX, Version 1.13.0 (TeX Live 2021/dev) For ConTeXt (LMTX): This is LuaMetaTeX, Version 2.06.03 El mié., 20 de may. de 2020 a la(s) 16:25, Hans Hagen (j.hagen@xs4all.nl) escribió:
On 5/20/2020 10:26 PM, Jairo A. del Rio wrote:
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:
So, what version do you use?
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 -----------------------------------------------------------------
Pablo pointed out the bug in Evince. Sorry too. I've used another PDF viewer and SVG color displays correctly. Thanks. El mié., 20 de may. de 2020 a la(s) 16:32, Jairo A. del Rio ( jairoadelrio6@gmail.com) escribió:
Info from \luatexbanner
For ConTeXt (LuaTeX): This is LuaTeX, Version 1.13.0 (TeX Live 2021/dev) For ConTeXt (LMTX): This is LuaMetaTeX, Version 2.06.03
El mié., 20 de may. de 2020 a la(s) 16:25, Hans Hagen (j.hagen@xs4all.nl) escribió:
On 5/20/2020 10:26 PM, Jairo A. del Rio wrote:
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:
So, what version do you use?
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 5/20/20 11:25 PM, Hans Hagen wrote:
On 5/20/2020 10:26 PM, Jairo A. del Rio wrote:
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:
So, what version do you use?
This happens also to me witht the font from https://github.com/eosrei/emojione-color-font/releases/latest. Using latest in both Windows and Linux 64bit (2020.05.18 16:50). Just in case it helps, Pablo -- http://www.ousia.tk
participants (3)
-
Hans Hagen
-
Jairo A. del Rio
-
Pablo Rodriguez