Hi Hans,

Yes, sorry about the error :).

Thanks for the explanation, will use lmtx for that, though probably best just using another font (some mentioned on the list https://www.mail-archive.com/ntg-context@ntg.nl/msg92800.html and https://mailman.ntg.nl/pipermail/ntg-context/2020/098136.html) or svg or metapost as I do not need it in colour.

I thought it would be easier via fonts but backtracking on the idea now and maybe using something like this instead: https://thenounproject.com/term/handshake/153516/.

Thank you,
Adam

On Fri, May 14, 2021 at 4:33 PM Hans Hagen <j.hagen@xs4all.nl> wrote:
On 5/14/2021 3:21 AM, Jairo A. del Rio wrote:
>
>
> El jue, 13 de may. de 2021 a la(s) 19:52, Adam Reviczky
> (reviczky@gmail.com <mailto:reviczky@gmail.com>) escribió:
>
>     Thanks Jairo,
>
>     That indeed works, should've read that it is bitmap only.
>
>     I do get a white background though (MKIV), is that how the bitmap is
>     stored?
>
>
> In LuaLaTeX with Harfbuzz shaper as well as ConTeXt LMTX, transparency
> is properly handled, so I suppose ConTeXt MkIV is to blame in this case.
> In case you understand how does ConTeXt handle with bitmap fonts,
> relevant files are under
> /home/coragyps/lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/
>
>     \definefontfeature[Emoji][default][sbix=yes]
>
>     \starttext
>
>     \framed[background=color,background=black]{\definedfont[file:NotoColorEmoji.ttf*Emoji]\char"1F91D}

took me quite a while to realize that there is an error in that line

>     \stoptext
>
>
>     In Hans' example for applecoloremoji there is no white background
>     (page 5, bachotex-2017-emoji.pdf).
>
>     I also do not get a white background with LibreOfiice.
>
>
>
> I'd wait for Hans to fix it, as I don't really understand font
> management in ConTeXt...
in lmtx we use a different method

in mkiv we can actually switch to a variant that was on hold till
texlive release (i.e. luatex 1.13, i forgot about that)

even then, because we cache the problem in mkiv is more with the
conversion tools that drop masks ..

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
___________________________________________________________________________________