diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-12-15 19:13:44 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-12-15 19:13:44 +0100 |
commit | 8f472c629a996f1c08281198210354a253d7f56b (patch) | |
tree | 26f5fa0bda520d7ea9e87947df6978b9085a7d58 /tex/context/base/mkxl/font-fea.mklx | |
parent | 3bdc9b9072bba774cd5c604fe185d39ddbdc911e (diff) | |
download | context-8f472c629a996f1c08281198210354a253d7f56b.tar.gz |
2022-12-15 17:52:00
Diffstat (limited to 'tex/context/base/mkxl/font-fea.mklx')
-rw-r--r-- | tex/context/base/mkxl/font-fea.mklx | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/tex/context/base/mkxl/font-fea.mklx b/tex/context/base/mkxl/font-fea.mklx index 9f4d2119e..3e6a4b2eb 100644 --- a/tex/context/base/mkxl/font-fea.mklx +++ b/tex/context/base/mkxl/font-fea.mklx @@ -136,12 +136,10 @@ % beware: these are global features on top of existing font features -\mutable\let\currentfeature\s!current - -\let\m_font_feature_list \s!current -\let\m_font_feature_asked\empty - -\newconstant\c_font_feature_state +\mutable\let \currentfeature \s!current +\let \m_font_feature_list \s!current +\lettonothing\m_font_feature_asked +\newconstant \c_font_feature_state \newevery\everyfontfeatureswitch @@ -193,7 +191,7 @@ \the\everyfontfeatureswitch} \protected\def\font_feature_replace - {\ifnum\c_font_feature_state=\zerocount + {\ifzero\c_font_feature_state \ifx\m_font_feature_asked\currentfeature\else \font_feature_replace_indeed \fi @@ -214,9 +212,9 @@ \fi} \protected\def\font_feature_reset_indeed - {\let\m_font_feature_asked\empty - \let\currentfeature \s!current - \let\m_font_feature_list \s!current + {\lettonothing\m_font_feature_asked + \let\currentfeature\s!current + \let\m_font_feature_list\s!current \clf_resetfeature} \permanent\protected\def\revivefeature |