summaryrefslogtreecommitdiff
path: root/tex/context/base/font-ctx.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-05-31 23:40:49 +0300
committerMarius <mariausol@gmail.com>2013-05-31 23:40:49 +0300
commit9a194c86a8d31ce7f07712961e5ec72023a00823 (patch)
treef5a34823fdacf9be583a3f63faa14b39177759bd /tex/context/base/font-ctx.lua
parentcc1c43092378e4bb53255c8aa165a6063f829c33 (diff)
downloadcontext-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.lua6
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