\definefontfeature[smallcaps][language=DFLT,script=latn,kern=yes,smcp=yes,tlig=yes,trep=yes,liga=yes,protrusion=pure,mode=node,expansion=quality]
\definefontfeature[oldstyle][language=DFLT,script=latn,kern=yes,onum=yes,tlig=yes,trep=yes,liga=yes,protrusion=pure,mode=node,expansion=quality]

\definebodyfontenvironment[default][em=italic]


\starttypescript[serif][octavian]
\definefontsynonym  [OctavianRegular][name:OctavianMTStd][features=default]
\definefontsynonym  [OctavianItalic] [name:OctavianMTStd-Italic][features=default]
\definefontsynonym  [OctavianBold] [name:OctavianMTStd][features=default]% Octavian lacks a bold weight
\definefontsynonym  [OctavianBoldItalic] [name:OctavianMTStd-Italic][features=default]% Octavian lacks a bold weight
\definefontsynonym  [OctavianCaps]   [name:OctavianMTStd][features=default]
\stoptypescript

\starttypescript[serif][octavian][name]
\definefontsynonym  [Serif]           [OctavianRegular][features=oldstyle]
\definefontsynonym  [SerifItalic]     [OctavianItalic][features=oldstyle]
\definefontsynonym  [SerifBold]       [OctavianBold][features=oldstyle]   
\definefontsynonym  [SerifCaps]       [OctavianCaps][features=smallcaps] 
\definefontsynonym  [SerifSlanted]    [OctavianItalic][features=oldstyle]
\definefontsynonym  [SerifBoldItalic] [OctavianBoldItalic][features=oldstyle]
\definefontsynonym  [SerifBoldSlanted][OctavianBoldItalic][features=oldstyle]
\stoptypescript

\starttypescript [octavian]
  \definetypeface [octavian] [rm] [serif] [octavian] [default]
\stoptypescript

\usetypescript[octavian]
\setupbodyfont[octavian,12pt]

\setupalign [hanging,hz]

\starttext
\title{Octavian test}

I think that my Octavian font cannot use hanging and the lower case letter “a” at the same time. This is very odd.

\input dawkins

\it Let’s try it with italics. I think that my Octavian font cannot use hanging and the lower case letter “a” at the same time. This is very odd.

\input dawkins

\stoptext
