ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	"Jairo A. del Rio" <jairoadelrio6@gmail.com>
Subject: Re: NotoColorEmoji - loca table not found
Date: Fri, 14 May 2021 17:31:51 +0200	[thread overview]
Message-ID: <2e807178-54c7-df39-3915-6b35852ca05d@xs4all.nl> (raw)
In-Reply-To: <CAKyqqabZ52c7xsSkmyrQp4XHGUk_xXK5QTz666feeLzqnrvFsw@mail.gmail.com>

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
___________________________________________________________________________________

  reply	other threads:[~2021-05-14 15:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-13 23:26 Adam Reviczky
2021-05-13 23:49 ` Jairo A. del Rio
2021-05-14  0:52   ` Adam Reviczky
2021-05-14  1:21     ` Jairo A. del Rio
2021-05-14 15:31       ` Hans Hagen [this message]
2021-05-14 16:33         ` Adam Reviczky
2021-05-14 18:05           ` Hans Hagen
2021-05-14  7:56   ` Hans Hagen
2021-05-14  7:54 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2e807178-54c7-df39-3915-6b35852ca05d@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=jairoadelrio6@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).