[NTG-context] Typesetting unicode characters

Thangalin thangalin at gmail.com
Wed Mar 30 09:32:11 CEST 2022


Hi list,

An XML document includes the 👍 emoji, as shown in the following snippet:

<html>
  <head><meta charset="utf8"/></head>
  <body>
    <div class="bubblerx">
      <p>Thumbs up emoji: ��</p>
    </div>
  </body
</html>

The document is typeset using ConTeXt, but the thumbs up emoji isn't in the
PDF. Neither Noto Emoji nor Open Sans Emoji fonts will render.

Does anyone have a minimal example that shows how to typeset such escaped
entities?

When the emoji is added directly to a document, it works fine:

\definefont [TextFontEmoji] [opensansemoji]

\starttext
  \TextFontEmoji{Thumbs up emoji: 👍}
\stoptext

Is there something special that needs to be set for ConTeXt to interpret
the escaped unicode values as an emoji?

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220330/e3b07008/attachment-0001.htm>


More information about the ntg-context mailing list