[NTG-context] bug in \setfontfeature

Hans Hagen pragma at wxs.nl
Wed Jan 2 10:11:22 CET 2008


Wolfgang Schuster wrote:
> On Tue, 01 Jan 2008 20:19:10 -0700
> "Idris Samawi Hamid" <ishamid at colostate.edu> wrote:
> 
>> Dear consortium,
>>
>> check this out:
>>
>> ==============================================
>> % engine=luatex
>>
>> \definefontfeature
>>    [oldstyle]
>>    [mode=node,language=dflt,script=latn,onum=yes,tnum=yes]
>>
>> \setfontfeature{oldstyle}
>>
>> \starttext
>> 1234567890
>>
>> \startitemize
>> \item test
>> \stopitemize
>>
>> \stoptext
>> ==============================================

in font=otf.lua, patch ...

     function fonts.otf.set_dynamics(tfmdata,attribute,features)
         local shared = tfmdata.shared
         if shared then


	end
     end

and remake


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list