From: Thangalin via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Thangalin <thangalin@gmail.com>
Subject: Typesetting unicode characters
Date: Wed, 30 Mar 2022 00:32:11 -0700 [thread overview]
Message-ID: <CAANrE7odSPbSGDkzer+AT5eMnOX+7f_k+J+Dxav1VEh5SAuB4g@mail.gmail.com> (raw)
[-- 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: ��</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
___________________________________________________________________________________
next reply other threads:[~2022-03-30 7:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-30 7:32 Thangalin via ntg-context [this message]
2022-03-30 7:48 ` Arthur Rosendahl via ntg-context
2022-03-31 8:06 ` Thangalin via ntg-context
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=CAANrE7odSPbSGDkzer+AT5eMnOX+7f_k+J+Dxav1VEh5SAuB4g@mail.gmail.com \
--to=ntg-context@ntg.nl \
--cc=thangalin@gmail.com \
/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).