Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Wolfgang Schuster
On Tue, 01 Jan 2008 20:19:10 -0700 Idris Samawi Hamid [EMAIL PROTECTED] wrote: Dear consortium, check this out: == % engine=luatex \definefontfeature [oldstyle] [mode=node,language=dflt,script=latn,onum=yes,tnum=yes]

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Hans Hagen
Wolfgang Schuster wrote: On Tue, 01 Jan 2008 20:19:10 -0700 Idris Samawi Hamid [EMAIL PROTECTED] wrote: Dear consortium, check this out: == % engine=luatex \definefontfeature [oldstyle]

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Wolfgang Schuster
On Jan 2, 2008 10:11 AM, Hans Hagen [EMAIL PROTECTED] wrote: Wolfgang Schuster wrote: On Tue, 01 Jan 2008 20:19:10 -0700 Idris Samawi Hamid [EMAIL PROTECTED] wrote: Dear consortium, check this out: == % engine=luatex

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Hans Hagen
Wolfgang Schuster wrote: you forgot local dynamics, the following works function fonts.otf.set_dynamics(tfmdata,attribute,features) local shared = tfmdata.shared local dynamics = shared.dynamics if shared then hm, you need to to test shared before using it, so

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Idris Samawi Hamid
On Wed, 02 Jan 2008 02:11:22 -0700, Hans Hagen [EMAIL PROTECTED] wrote: in font=otf.lua, patch ... function fonts.otf.set_dynamics(tfmdata,attribute,features) local shared = tfmdata.shared if shared then end end and remake Does this handle the other

Re: [NTG-context] bug in \setfontfeature

2008-01-02 Thread Idris Samawi Hamid
On Wed, 02 Jan 2008 08:14:17 -0700, Taco Hoekwater [EMAIL PROTECTED] wrote: Does this handle the other [off-list] utf-8 bug that generates an error message from font-tfm.lua:591? No. You get that error because the font does not have a non-breaking hyphen, and you can fix it by changing

Re: [NTG-context] bug in \setfontfeature

2008-01-01 Thread luigi scarso
On Jan 2, 2008 4:19 AM, Idris Samawi Hamid [EMAIL PROTECTED] wrote: Dear consortium, check this out: == % engine=luatex \definefontfeature [oldstyle] [mode=node,language=dflt,script=latn,onum=yes,tnum=yes] \setfontfeature{oldstyle}