diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-04-12 18:03:49 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-04-12 18:03:49 +0200 |
commit | 171f7b525a5f7ddfb1631501cbc2d09722de4018 (patch) | |
tree | 594ab978abdaf0b3b42b1a5da96d2954e0d06159 /tex/context/base/mkiv/font-fea.mkvi | |
parent | 64f6e8fc0c6cb9254a6fe3db0b4ab31c51cf8524 (diff) | |
download | context-171f7b525a5f7ddfb1631501cbc2d09722de4018.tar.gz |
2019-04-12 17:51:00
Diffstat (limited to 'tex/context/base/mkiv/font-fea.mkvi')
-rw-r--r-- | tex/context/base/mkiv/font-fea.mkvi | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/tex/context/base/mkiv/font-fea.mkvi b/tex/context/base/mkiv/font-fea.mkvi index 4a5356090..9c4b60d9f 100644 --- a/tex/context/base/mkiv/font-fea.mkvi +++ b/tex/context/base/mkiv/font-fea.mkvi @@ -137,11 +137,28 @@ \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 +\ifcase\contextlmtxmode -\prependtoks - \attribute\zerocount\attributeunsetvalue % new per 2017-08-30 -\to \t_attr_list_local + \attribute\zerocount\zerocount % first in list, so fast match + + \prependtoks + \attribute\zerocount\attributeunsetvalue % new per 2017-08-30 / why not zero + \to \t_attr_list_local + + \def\font_dynamic_value{\attribute\zerocount} + +\else + + \glyphdatafield\zerocount + \attribute\zerocount\attributeunsetvalue + + \prependtoks + \glyphdatafield\attributeunsetvalue % why not zero + \to \t_attr_list_local + + \let\font_dynamic_value\glyphdatafield + +\fi % beware: these are global features on top of existing font features |