ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* accessing glyph in private area
@ 2019-12-18 19:33 Pablo Rodriguez
  2019-12-19  8:50 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2019-12-18 19:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I have the following sample:

    \definefontfamily[emoj][rm][Noto Emoji]
    \setupbodyfont[emoj]
    \starttext
    🔔💻🔨🔩
    \utfchar{0x23f0}
    \utfchar{0xfe4eb}󾓦󾓧󾓨󾓩󾓪󾓫󾓬󾓭󾓮
    \utfchar{0xfe4eb}󾓦󾓧󾓨󾓩󾓪󾓫󾓬󾓭󾓮
    \stoptext

Is there any way to access glyphs from the private area (0Xfe4eb in the
sample) in ConTeXt?

I would need to use these glyphs for a presentation I have.

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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

* Re: accessing glyph in private area
  2019-12-18 19:33 accessing glyph in private area Pablo Rodriguez
@ 2019-12-19  8:50 ` Hans Hagen
  2019-12-19 17:38   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2019-12-19  8:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Pablo Rodriguez

On 12/18/2019 8:33 PM, Pablo Rodriguez wrote:
> Dear list,
> 
> I have the following sample:
> 
>      \definefontfamily[emoj][rm][Noto Emoji]
>      \setupbodyfont[emoj]
>      \starttext
>      🔔💻🔨🔩
>      \utfchar{0x23f0}
>      \utfchar{0xfe4eb}󾓦󾓧󾓨󾓩󾓪󾓫󾓬󾓭󾓮
>      \utfchar{0xfe4eb}󾓦󾓧󾓨󾓩󾓪󾓫󾓬󾓭󾓮
>      \stoptext
> 
> Is there any way to access glyphs from the private area (0Xfe4eb in the
> sample) in ConTeXt?
> 
> I would need to use these glyphs for a presentation I have.
> 
> Many thanks for your help,
\enabledirectives[otf.keepnames]

\definefontfamily[emoj][rm][Noto Emoji]
     \setupbodyfont[emoj]
     \starttext
     1🔔
     2💻
     3🔨
     4🔩
     6\fontchar{u1F004}
\stoptext

you need to wipe the font cache then


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

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

* Re: accessing glyph in private area
  2019-12-19  8:50 ` Hans Hagen
@ 2019-12-19 17:38   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2019-12-19 17:38 UTC (permalink / raw)
  To: ntg-context

On 12/19/19 9:50 AM, Hans Hagen wrote:
> [...]
> \enabledirectives[otf.keepnames]
> [...]
>      6\fontchar{u1F004}

Many thanks for your reply, Hans.

It took me some minutes to realize that characters in \fontchar{uFE4EA}
had to respect the case (both upper and lower).

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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:[~2019-12-19 17:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-18 19:33 accessing glyph in private area Pablo Rodriguez
2019-12-19  8:50 ` Hans Hagen
2019-12-19 17:38   ` Pablo Rodriguez

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