On 11/21/2018 1:37 PM, Ulrike Fischer wrote:
Am Wed, 21 Nov 2018 13:01:47 +0100 schrieb Ulrike Fischer:

Khaled wrote that "is that [the code] uses the last palette color

A bit too much deleted. It should say "it is a bug that ..."
in context use the context interface (which uses a different implementation of the function you call)

\starttext

\definefontfeature[seguiemj-cl][default][colr=yes,ccmp=yes,dist=yes]

\definefontsynonym[emoji][seguiemj*seguiemj-cl]

\definecolor[emoji-red] [r=.4]
\definecolor[emoji-gray][s=1,t=.5,a=1]

\definefontcolorpalette [emoji-r] [emoji-red,emoji-gray]

\definefontfeature[seguiemj-r][ccmp=yes,dist=yes,colr=emoji-r]

\definefont[MyEmojiR][seguiemj*seguiemj-r @ 100pt]

\startTEXpage[offset=10pt]
   \MyEmojiR\resolvedemoji{triangular ruler}
\stopTEXpage

\stoptext

I'm not sure what yoy mwan with 0xFFFF as that's intercepted .. the choice for the last color as default is just that, a choice, could be the first one or none (or configureable if needed)

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
-----------------------------------------------------------------
___________________________________________________________________________________
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 via email to