From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107402 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Jairo A. del Rio" Newsgroups: gmane.comp.tex.context Subject: Emoji color fonts not working on LMTX/Context MKIV Date: Wed, 20 May 2020 05:26:08 -0500 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9121211138993524497==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="113568"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 20 12:26:40 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jbLvr-000TQH-NR for gctc-ntg-context-518@m.gmane-mx.org; Wed, 20 May 2020 12:26:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 64EF2184299; Wed, 20 May 2020 12:26:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZB_R9GP1O9ED; Wed, 20 May 2020 12:26:21 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 777601842E5; Wed, 20 May 2020 12:26:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C0AA41842D0 for ; Wed, 20 May 2020 12:26:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1ih4P3m8OJro for ; Wed, 20 May 2020 12:26:20 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.49; helo=mail-wr1-f49.google.com; envelope-from=jairoadelrio6@gmail.com; receiver= Original-Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 317DD184299 for ; Wed, 20 May 2020 12:26:20 +0200 (CEST) Original-Received: by mail-wr1-f49.google.com with SMTP id g12so1381791wrw.1 for ; Wed, 20 May 2020 03:26:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=r6X/b5qMVtekQix25hgpmAm1pqfuTvqCCHIle7st/8Q=; b=VpKUhQhcRVRDsL2ctyVlrlkP6suIcuUUw9Cvk+RQ0PCem0tzt5NHRJXLKTwehLG3bU /blsZvWK/kmAApSjqHSTR2sA4PflbzFAoWSTPQOR8zLJQmEj2k0qAFfv348te2VzGaJU 8W48Eo0aDN4QD4T/sjJ2ilmXK8wVClQnVNlNWIqXBr5/LFubKpeyqyfSX53DE8ylrps8 KGOiw3YtK+FXWxtIh2cwevqspNduO8r8aRj7JiSZLDcX2wMU2fDoI9BkHC3pSXiuetPM Szz0lF7c9MGuA/Cz8p5chNvgZqIlJZbiBSF6FcLhxcGLJ73X5xvcTOQo982lcRhaM9uO uFzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=r6X/b5qMVtekQix25hgpmAm1pqfuTvqCCHIle7st/8Q=; b=f9smZYkj9Taroc5uYG1zI6OWLUC8epjeJwca7GPXsKwdj2ZAv5OuoRc8WXQT/RfX8r zm/oLlIK0whQpAd88hZgtphDOvoAXxQH0aJlp2VjnoZ0rgaNQgCqIBvjpQNQsiHu2Yly Wl7sUSjcn7yYgnTGKAt6Pg7b0zqjGbSkosRgB9JzZs+ppzMPwSQ5ZCjkfdIY1PYfBNDt 2MnhR9vKOMwIEmF6D/cjXUnvhmURs68LAdbdk+iwo3ZFd0RtRHanzO8NeM7RoTWACCom c5xy/zhDUAqqFnmllSp8tErCWZitX8Q8v4SOJo1qZ0c7urFx8EwnEulW4zaSOlMTwbEG EDeg== X-Gm-Message-State: AOAM531HLTrMXYXSO1Q+uE2CgfNnGLASZnGFawXnOaONtO/q9FIQUEcu 4ZfvXA1yveP9jNR8701TE/BwSFdEl4t5OHijbtsjkO82bFA= X-Google-Smtp-Source: ABdhPJypWz8rwoa3QEBoqKVhAxK4zqNCurBlLnpaCnGP3kOW8aoqoInrQeQGwYPgMSG20mp1NE7mVxUrNaGzjXPnMZY= X-Received: by 2002:adf:de0b:: with SMTP id b11mr1784735wrm.346.1589970379587; Wed, 20 May 2020 03:26:19 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:107402 Archived-At: --===============9121211138993524497== Content-Type: multipart/alternative; boundary="000000000000adc42805a611d3df" --000000000000adc42805a611d3df Content-Type: text/plain; charset="UTF-8" I've tried the following from the manuals and adapted some code to see if it works: 1. \definefontfeature[svg][svg=yes] \definefontsynonym[Emoji][file:emojionecolor-svginot.ttf*default,svg] \definesymbol[bug][\getglyphdirect{Emoji}{\char"1F41B}] \starttext \symbol[bug] \stoptext The emoji has no color when compiled with LuaTeX. Furthermore, the log includes a lot of lines like the ones below: 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 With LMTX it gives an error about mlib-svg. 2. \definefontfeature[overlay][default][ccmp=yes,colr=yes,dist=yes] \definefontfeature[svg] [default][svg=yes] \definefontfeature[bitmap] [default][sbix=yes] \definefontfeature [colored] [default] [ccmp=yes,dist=yes, colr=yes,svg=yes,sbix=yes] \definefontsynonym[Emoji][file:notocoloremoji*default,colored] \definesymbol[bug][\getglyphdirect{Emoji}{\char"1F41B}] \starttext \symbol[bug] \stoptext What I get is: fonts > png conversion > processing 3374 png containers sh: 1: gm: not found sh: 1: gm: not found sh: 1: gm: not found sh: 1: gm: not found ... and the same line repeating itself ... close source > level 1, order 3, name '/home/lol/lmtx/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv' ! error: (file /usr/share/fonts/truetype/noto/NotoColorEmoji.ttf) (ttf): loca table not found LMTX prints a file without any emoji. Only Twemoji Mozilla and Segoe UI Emoji worked for me, so, what am I doing wrong? I'm working with Ubuntu 20.04 LTS x86_64 and Inkscape 0.92.5 (2060ec1f9f, 2020-04-08) in case it helps. Thank you in advance. --000000000000adc42805a611d3df Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've tried the following from the manuals an= d adapted some code to see if it works:

1.
\definefontfeature[svg][svg=3Dyes]
\definefontsynonym[Emoji][file:emoj= ionecolor-svginot.ttf*default,svg]
\definesymbol[bug][\getglyphdirect{Em= oji}{\char"1F41B}]
\starttext
\symbol[bug]
\stoptext

The emoji has no color when compiled with Lua= TeX. Furthermore, the log includes a lot of lines like the ones below:
<= /div>


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


fonts = > svg conversion > processing 1829 svg containers

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

<= br>
With LMTX it gives an error about mlib-svg.

2.
\definefontfeature[overlay][default][ccmp=3Dyes,colr=3Dyes,dist=3Dyes]\definefontfeature[svg]
[default][svg=3Dyes]
\definefontfeature[bitm= ap] [default][sbix=3Dyes]
\definefontfeature [colored] [default]
[ccm= p=3Dyes,dist=3Dyes,
colr=3Dyes,svg=3Dyes,sbix=3Dyes]
\definefontsynon= ym[Emoji][file:notocoloremoji*default,colored]
\definesymbol[bug][\getgl= yphdirect{Emoji}{\char"1F41B}]
\starttext
\symbol[bug]
\= stoptext

What I get is:

fonts = > png conversion > processing 3374 png containers


sh: 1: gm: not= found


sh: 1: gm: not= found


sh: 1: gm: not= found sh: 1: gm: not found

...

and the same line repeating itself

...=

close source = > level 1, order 3, name '/home/lol/lmtx/tex/texmf-context/tex/con= text/base/mkiv/cont-yes.mkiv'

! error: (fil= e /usr/share/fonts/truetype/noto/NotoColorEmoji.ttf) (ttf): loca table not = found

=

LMTX p= rints a file without any emoji.


Only Twemoji Mozilla and Segoe UI Emoji worked for me, s= o, what am I doing wrong?


I'm working with Ubuntu 20.04 LTS x86_64 and Inkscape 0.92.5 (= 2060ec1f9f, 2020-04-08) in case it helps. Thank you in advance.


--000000000000adc42805a611d3df-- --===============9121211138993524497== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============9121211138993524497==--