On Sat, 5 Jan 2008 10:55:23 +0100
"Mojca Miklavec" <[EMAIL PROTECTED]> wrote:

> On Jan 5, 2008 10:03 AM, Wolfgang Schuster wrote:
> > On Fri, 04 Jan 2008 21:40:55 +0100
> > Hans Hagen wrote:
> >
> > > Thomas A. Schmitz wrote:
> > >
> > > > {\bgroup\definedfont[name:TeXGyreHeros-Regular]\char"2329\egroup}
> > >
> > > ah so you know the number ...
> > >
> > > \getglyph{name:TeXGyreHeros-Regular}{\char"2329}
> > >
> > > should also work then
> >
> > Is it also possible to select glyphs with the "Adobe names", I saw you
> > have a complete list char-def.lua and it would be nice to write
> > \getnamedglyph{name:TeXGyreHeros-Regular}{angleleft} with the same
> > result as above.
> 
> One thing that you can try is to add
>     contextname='angleleft'
> to the corresponding entry in char-def.lua and then use
>     \getglyph{name:TeXGyreHeros-Regular}{\angleleft}
> improvements for char-def.lua are welcome anyway.

Do you really a contextname for every adobename in the list?

I would be enough for me access the glyphs by name, I don't a macro for
every character but the list for adobenames should be filled with the
information from glyphlist.txt.

http://www.adobe.com/devnet/opentype/archives/glyph.html

> Hans, should contextnames.txt be deleted now? So that only one list
> will be kept up to date.
> 
> XeTeX offers \XeTeXglyphdindex{angleleft} (in LuaTeX you can achieve
> the same with some coding), but I agree that some high-level macro to
> access glyphs by name might be handy.

I know XeTeX offers this method but method for XeTeX and LuaTeX would
be better, it could be used as replacement for \symbol a many
cases, untill you have the requestet glyph in your font but a fallback
mode would be nice in this situation.

Wolfgang
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to