On Fri, Aug 12 2016, Wolfgang Schuster wrote: > > > Martin Oppegaard > 11. August 2016 um 21:42 > > Hi Wolfgang, thank you for the quick reply. > > > Moving \definefontfeature before \setupbodyfont doesn't change > anything > for me. Here is the output of running context: > > You need also "script=latn" when you enable oldstyle numerals. > > You can use the mtxrun script to list the available features of a font > where you also see the necessary script: > > $ mtxrun --script font --list --info fbbregular > > resolvers | trees | analyzing 'home:texmf' > mtx-fonts | > mtx-fonts | mapping : fbbregular > mtx-fonts | fontname : fbbregular > mtx-fonts | fullname : fbbregular > mtx-fonts | filename : fbb-Regular.otf > mtx-fonts | family : fbb > mtx-fonts | weight : normal > mtx-fonts | style : normal > mtx-fonts | width : normal > mtx-fonts | variant : normal > mtx-fonts | fweight : conflict: regular > mtx-fonts | > ... > mtx-fonts | > mtx-fonts | gsub features: > mtx-fonts | > mtx-fonts | feature script languages > mtx-fonts | > ... > mtx-fonts | onum grek dflt > mtx-fonts | latn dflt > > %%%% begin example > \starttypescript [serif] [fbb] > \setups[font:fallback:serif] > \definefontsynonym [Serif] [file:fbbregular] > \definefontsynonym [SerifItalic] [file:fbbitalic] > \definefontsynonym [SerifBold] [file:fbbbold] > \definefontsynonym [SerifBoldItalic] [file:fbbbolditalic] > \stoptypescript > > \definefontfeature[default][default][script=latn,onum=yes] > > \definetypeface [fbb] [rm] [serif] [fbb] [default] [features=default] > \definetypeface [fbb] [mm] [math] [modern] [default] > > \setupbodyfont[fbb] > > \starttext > ABC abc 1234 > \stoptext > %%%% end example > > Wolfgang
Ah that solved it, thank you very much! Best regards, Martin Oppegaard ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________