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: \char not working with private unicodes
Date: Tue, 11 May 2021 15:16:10 +0200	[thread overview]
Message-ID: <b0c886fa-343a-42da-8826-5f9b814ee509@xs4all.nl> (raw)
In-Reply-To: <CAKyqqaaWP2CVhOJT6Mt2qnhSNr2wNC7D5TDim+tGAmF3cjBx3w@mail.gmail.com>

On 5/11/2021 2:08 PM, Jairo A. del Rio wrote:
> Hi, list! Following this thread: 
> https://tex.stackexchange.com/questions/596610/how-to-use-luatex-with-large-unicode-codepoint 
> <https://tex.stackexchange.com/questions/596610/how-to-use-luatex-with-large-unicode-codepoint>, 
> I tried to replicate it in ConTeXt. Both LMTX and LMTX fail to display 
> the right symbol and, as it's discussed in the linked page, there's an 
> offset by 14. Is this intentional (in ConTeXt)? A bug? Minimal 
> (non-)working example:
> 
> 
> %Font available here: https://materialdesignicons.com/ 
> <https://materialdesignicons.com/>
> 
> \starttext
> 
> \definedfont[file:materialdesignicons-webfont.ttf]\char"F1372\relax
> 
> \stoptext
You need to employ a sense of humour for that font:

\starttext
     \definefontfeature[materialicons][default][rlig=yes]
     \definedfont[file:materialiconsregular.ttf*materialicons]
     baby_changing_station
\stoptext


-----------------------------------------------------------------
                                           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-11 13:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-11 12:08 Jairo A. del Rio
2021-05-11 13:16 ` Hans Hagen [this message]
2021-05-11 13:40   ` Taco Hoekwater
2021-05-11 15:31     ` Hans Hagen
2021-05-12 12:03       ` Taco Hoekwater
2021-05-12 12:29         ` Taco Hoekwater
2021-05-12  7:20     ` luigi scarso
2021-05-13  6:46 ` Sergio Callegari
2021-05-13  7:16   ` Hans Hagen
2021-05-18 13:07     ` Sergio Callegari

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=b0c886fa-343a-42da-8826-5f9b814ee509@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).