\definefontfamily[mainface][rm][STIX Two Text]
[protrusion=quality,
expansion=quality,
mode=node,
force=yes,
features={default, f:oldstyle},
]
]
\definefallbackfamily[mainface] [mm] [STIX Two Text]
[range=digitsnormal,
force=yes,
features=f:oldstyle]
\definefontfamily[mainface][mm][STIX Two Math]
\setupbodyfont[mainface, 20pt]
\starttext
Hello world!
123456789
\m{123456789}
\oldstyle{123456789}
\stoptext
The problem disappears if I remove either
\definefallbackfamily[mainface] [mm] [STIX Two Text]
[range=digitsnormal,
force=yes,
features=f:oldstyle]
or
\definefontfamily[mainface][mm][STIX Two Math]
But in neither case do I get oldstyle numerals.
Note too that, when I remove \definefontfamily[mainface][mm][STIX Two Math], my log file has
mkiv lua stats > loaded fonts: 2 files: lmmono10-regular.otf, lmroman10-regular.otf
with no mention of STIX Two Text.
Yet ConTeXt is aware of the STIX Two Math and STIX Two Text fonts.
WE had a power failure very recently. I wonder if that has screwed things up.
Alan