summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkiv/font-fea.mkvi
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/font-fea.mkvi')
-rw-r--r--Master/texmf-dist/tex/context/base/mkiv/font-fea.mkvi13
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/font-fea.mkvi b/Master/texmf-dist/tex/context/base/mkiv/font-fea.mkvi
index 4a5356090e9..3737632fe2e 100644
--- a/Master/texmf-dist/tex/context/base/mkiv/font-fea.mkvi
+++ b/Master/texmf-dist/tex/context/base/mkiv/font-fea.mkvi
@@ -137,11 +137,14 @@
\def\font_basics_features_list[#name][#separator]% todo: arg voor type
{\clf_featurelist{#name}{\detokenize{#separator}}}
-\attribute\zerocount\zerocount % first in list, so fast match
-
-\prependtoks
- \attribute\zerocount\attributeunsetvalue % new per 2017-08-30
-\to \t_attr_list_local
+\ifcase\contextlmtxmode
+ \attribute\zerocount\zerocount
+ \def\font_dynamic_value{\attribute\zerocount}
+\else
+ \attribute\zerocount\attributeunsetvalue
+ \glyphdatafield\zerocount
+ \let\font_dynamic_value\glyphdatafield
+\fi
% beware: these are global features on top of existing font features