ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Typesetting unicode characters
@ 2022-03-30  7:32 Thangalin via ntg-context
  2022-03-30  7:48 ` Arthur Rosendahl via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Thangalin via ntg-context @ 2022-03-30  7:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thangalin


[-- Attachment #1.1: Type: text/plain, Size: 796 bytes --]

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: &#55357;&#56397;</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!

[-- Attachment #1.2: Type: text/html, Size: 1178 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-31  8:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-30  7:32 Typesetting unicode characters Thangalin via ntg-context
2022-03-30  7:48 ` Arthur Rosendahl via ntg-context
2022-03-31  8:06   ` Thangalin via ntg-context

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).