Re: [NTG-context] Problems with ttc-fonts

2016-05-01 Thread Hans Hagen
On 4/29/2016 9:51 AM, Ulrike Fischer wrote: I was playing with the addfeature handler mentioned here https://mailman.ntg.nl/pipermail/ntg-context/2016/083952.html and run into a problem with ttc-fonts: \starttext \directlua{ fonts.handlers.otf.addfeature { name = "oneb", {

Re: [NTG-context] Problems with ttc-fonts

2016-04-29 Thread Ulrike Fischer
Am Fri, 29 Apr 2016 10:37:51 +0200 schrieb Hans Hagen: >> Is is normal that glyph of ttc-fonts have no name data? If yes how >> should one do substituations in such fonts? > > you can use the unicode number instead (unless i made a mistake) ["1"] = 46 works, but as names are easier to handle

Re: [NTG-context] Problems with ttc-fonts

2016-04-29 Thread Hans Hagen
On 4/29/2016 9:51 AM, Ulrike Fischer wrote: I was playing with the addfeature handler mentioned here https://mailman.ntg.nl/pipermail/ntg-context/2016/083952.html and run into a problem with ttc-fonts: \starttext \directlua{ fonts.handlers.otf.addfeature { name = "oneb", {

[NTG-context] Problems with ttc-fonts

2016-04-29 Thread Ulrike Fischer
I was playing with the addfeature handler mentioned here https://mailman.ntg.nl/pipermail/ntg-context/2016/083952.html and run into a problem with ttc-fonts: \starttext \directlua{ fonts.handlers.otf.addfeature { name = "oneb", { type = "substitution",