From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112397 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Marcus Vinicius Mesquita via ntg-context Newsgroups: gmane.comp.tex.context Subject: Problem with colored font Date: Sat, 7 Aug 2021 08:09:13 -0300 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6583099452941380177==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6884"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Marcus Vinicius Mesquita To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 07 13:10:01 2021 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 1mCKDI-0001aW-PS for gctc-ntg-context-518@m.gmane-mx.org; Sat, 07 Aug 2021 13:10:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BC86B28656D; Sat, 7 Aug 2021 13:09:33 +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 0OEW6R-39GgO; Sat, 7 Aug 2021 13:09:31 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C582D286558; Sat, 7 Aug 2021 13:09:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9F7B7286558 for ; Sat, 7 Aug 2021 13:09:29 +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 oNnwGcFjYuuZ for ; Sat, 7 Aug 2021 13:09:28 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.214.171; helo=mail-pl1-f171.google.com; envelope-from=marcusvinicius.mesquita@gmail.com; receiver= Original-Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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 486A3286505 for ; Sat, 7 Aug 2021 13:09:28 +0200 (CEST) Original-Received: by mail-pl1-f171.google.com with SMTP id u16so10743532ple.2 for ; Sat, 07 Aug 2021 04:09:28 -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=SPUYiBh2OQhiWyfMiK8BEkULT9ZGL45OuxPUEoVqOps=; b=CTPHa0hV10a0HLWe9VSl9Zsi62SnKx36KFdZ5+D2+DlEm5DWP9kCSLaLH8wbyTCLft A7/b1f0In+/eFrPU0IErIWH58bRmRihkaS4yTcio5Z+9+L1QZwzdORfGgh2vNBagGTIk BBTYkLtdBNhzQsdgHMMJGyCMVfwTCBf5OV9UvvLJMCFyIy0lhMkTNT3gNrMNR/t91mn+ ireh/1E8Q6dawZVbM5TEot1CENM8CGbtgpderdCKkKbxZnnc7lNIBjGWVshhV2zIsat7 AQnxbEDmDeVAIuaAEYl3kYa4EsSyr4SGtYhPft6n9DY40CDO6spggeQuMk+VORTJhdTQ rmPA== 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=SPUYiBh2OQhiWyfMiK8BEkULT9ZGL45OuxPUEoVqOps=; b=dNU+cpJpck5giYkUZ7Ge+fd9h76B7fSMGRPvd7hKjls4ynSD2lq7GbEpGPs7wVZSsS gg2HsSY90HrgQL6M4zEUTSwlhiHlyguOBNqLH+0NfDLIMhPpzGi1/Dd8I4y8qZoijOsi eLFWwB01I3ov8P84nwRLOxjdWeu2UnSZJ5ECnAWF1WgOFIjTzlH3bbPvVWyGnYe5Iudm IvSmTvQJKJ7K0wpiN3ezmtnpPaYOIoXxRSlk8J3UGz6zpa2IPNzKe2hIpZyrKOx/mze0 CkhpLjISvRor8dTm/+57PnReigEr3vW/tfacBb4ANFn9RL7g3ir78iU0OzUn7xyL0dnE CH2g== X-Gm-Message-State: AOAM532g1F2qkt4mGnGzycH/RDnSuGDI9BQpiKayUaIfPO+k1xsVzUbb 3ReDOLEwfdaUsfdhkzXLcqUlYBrb17/nPaxbNYm8qRGjI2o= X-Google-Smtp-Source: ABdhPJwhH0rDvdnIjIO8gf+AaDp3UzTIjW0lv5d0HBBGYjdOg2eBVtcMyWH4aJuAkcDdmC2+stqsXPk2GnXJLqisGWI= X-Received: by 2002:a65:63cf:: with SMTP id n15mr109368pgv.392.1628334565086; Sat, 07 Aug 2021 04:09:25 -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:112397 Archived-At: --===============6583099452941380177== Content-Type: multipart/alternative; boundary="00000000000053d64c05c8f62fff" --00000000000053d64c05c8f62fff Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear list, I'm trying to use the BabelStone Flags font, with colored flags of many countries, available freely under the SIL Open Font License 1.1 at: https://babelstone.co.uk/Fonts/Download/BabelStoneFlagsDual.ttf In the MWE below, there is a spurious =E2=80=9Cat=E2=80=9D in the first tim= e that the definition of the symbol for the Brazilian flag is used, but no problem when the definition for the flag of Portugal is used or even when the symbol for the Brazilian flag is used a second time. How to correct this behavior? MWE: \definefontfeature[colored][colr=3Dyes] \definefontsynonym[flags][file:BabelStoneFlagsDual.ttf*colored at 7pt] \definesymbol[BR][\getglyphdirect{flags}{\char"F0023}] \definesymbol[PT][\getglyphdirect{flags}{\char"F00A1}] \starttext Brasil \symbol[BR] Portugal \symbol[PT] Brasil \symbol[BR] \stoptext --=20 Todas as coisas fatigam o corpo, salvo a m=C3=BAsica, que n=C3=A3o fatiga n= em o corpo nem seus membros, por ser descanso da alma, primavera do cora=C3=A7=C3=A3o,= distra=C3=A7=C3=A3o do aflito, entretenimento do solit=C3=A1rio, e vi=C3=A1tico do viajante. Kunn=C3=A2sh al-H=C3=A2'ik (Cancioneiro de al-H=C3=A2'ik) --00000000000053d64c05c8f62fff Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear list,

I'm trying to use the BabelStone Fla= gs font,=C2=A0with colored flags of many countries, available freely under the SIL Open Font License 1.1 at:
= https://babelstone.co.uk/Fonts/Download/BabelStoneFlagsDual.ttf
In the MWE below, there is a spurious =E2=80=9Cat=E2=80=9D in the first ti= me that the definition of the symbol for the Brazilian flag is used, but no= problem when the definition for the flag of Portugal is used or even when = the symbol for the Brazilian flag is used a second time. How to correct thi= s behavior?

MWE:

\definefontfeature[colored][colr=3Dyes]
\= definefontsynonym[flags][file:BabelStoneFlagsDual.ttf*colored at 7pt]
\d= efinesymbol[BR][\getglyphdirect{flags}{\char"F0023}]
\definesymbol[= PT][\getglyphdirect{flags}{\char"F00A1}]

\starttext

Bras= il \symbol[BR]

Portugal \symbol[PT]

Brasil \symbol[BR]
\stoptext

--
Todas as coisas fatigam = o corpo, salvo a m=C3=BAsica, que n=C3=A3o fatiga nem o corpo nem seus memb= ros, por ser descanso da alma, primavera do cora=C3=A7=C3=A3o, distra=C3=A7= =C3=A3o do aflito, entretenimento do solit=C3=A1rio, e vi=C3=A1tico do viaj= ante.

Kunn=C3=A2sh al-H=C3=A2'ik (Cancioneiro = de al-H=C3=A2'ik)
--00000000000053d64c05c8f62fff-- --===============6583099452941380177== 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== --===============6583099452941380177==--