diff options
author | Marius <mariausol@gmail.com> | 2013-05-31 23:40:49 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-05-31 23:40:49 +0300 |
commit | 9a194c86a8d31ce7f07712961e5ec72023a00823 (patch) | |
tree | f5a34823fdacf9be583a3f63faa14b39177759bd /tex/context/base/font-ctx.lua | |
parent | cc1c43092378e4bb53255c8aa165a6063f829c33 (diff) | |
download | context-9a194c86a8d31ce7f07712961e5ec72023a00823.tar.gz |
beta 2013.05.31 21:57
Diffstat (limited to 'tex/context/base/font-ctx.lua')
-rw-r--r-- | tex/context/base/font-ctx.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/font-ctx.lua b/tex/context/base/font-ctx.lua index 2583c6520..63d10d007 100644 --- a/tex/context/base/font-ctx.lua +++ b/tex/context/base/font-ctx.lua @@ -1646,13 +1646,13 @@ local hows = { ["="] = "replace", } -function commands.feature(how,parent,name,font) - if not how then +function commands.feature(how,parent,name,font) -- 0/1 test temporary for testing + if not how or how == 0 then if trace_features and texattribute[0] ~= 0 then report_cummulative("font %!font:name!, reset",fontdata[font or true]) end texattribute[0] = 0 - elseif how == true then + elseif how == true or how == 1 then local hash = "feature > " .. parent local done = cache[hash] if trace_features and done then |