On 12/3/2022 2:04 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
I have the following sample (using current latest from 2022.12.01 13:05):
\definefallbackfamily[mainface][rm][Noto Emoji] [range={0x1F004-0xFE837}, force=yes] \definefontfamily[mainface][rm][TeX Gyre Pagella] \setupbodyfont[mainface]
\definestructureconversionset [sectionnumbers] [0,n,Characters,g,n] [n]
\definefontfeature[section] [smcp=yes, c2sc=yes]
\setupheads[sectionconversionset=sectionnumbers]
\setuphead[section][style={\feature[+][section]}]
\starttext \section{Just text} {\feature[+][section]Just text} \stoptext
LMTX outputs no small caps and it fallbacks to Noto Emoji. LuaTeX gives the right output.
Am I missing something or have I hit a bug in LMTX? more a bug in your approach: you specify a range where you also overwrite private slots (that happen to be used for caps) .. at t he cost of runtime i'll add a check against overwriting these
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------