[NTG-context] symbols in luatex?

Mojca Miklavec mojca.miklavec.lists at gmail.com
Sun Jan 6 11:32:51 CET 2008


On Jan 6, 2008 10:15 AM, Wolfgang Schuster wrote:
> On Sat, 5 Jan 2008 10:55:23 +0100
>
> > 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?

Of course not. But some addition still do make sense (and if you have
some on your wishlist, you can submit patches).

> 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

It is (although I could imagine that it might have been filled with an
older version of that list, but there are not so many differences
anyway).

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

Sure. I have agreed that some macro to get a glyph by name would be
handy (and could be supported in both engines easily).

Mojca


More information about the ntg-context mailing list