# [NTG-context] \namedglyph (was: [XeTeX] \XeTeXglyphindex: just a short note)

Hans Hagen pragma at wxs.nl
Sat Aug 12 21:00:37 CEST 2006

Mojca Miklavec wrote:
> Would it name sense to provide a \namedglyph macro in ConTeXt for
> XeTeX users as well? (Hopefully the feature will be available in
> pdfTeX as well ;)
>
\namedglyph is too generic; you ask for a \fontglyph\font{name} and even then, there probably is not sucha primitive, but just a lua call which will consult the font data so that one can also take care of missign glyphs

anyhow, such a command needs to be defined for each engine, with proper fallbacks which is not somthing i'm gonna do as a quick hack/fix.

Now, for the moment you can use your definition which you can always (some time in the future) map onto a context one. This way of asking for a glyph is low level anyway.

Hans

-----------------------------------------------------------------