diff options
author | Hans Hagen <pragma@wxs.nl> | 2013-05-31 21:57:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2013-05-31 21:57:00 +0200 |
commit | f7eaca8dd3301d6526d1610e523d6538404dc95b (patch) | |
tree | d621802ad0b715387788654f2b581443ea2c2ccd /tex/context/base/font-ctx.lua | |
parent | 5b7c7a51f408dbcce2a0926948c47e5bf045ed3d (diff) | |
download | context-f7eaca8dd3301d6526d1610e523d6538404dc95b.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 |