summaryrefslogtreecommitdiff
path: root/tex/context/base/font-ctx.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-05-31 21:57:00 +0200
committerHans Hagen <pragma@wxs.nl>2013-05-31 21:57:00 +0200
commitf7eaca8dd3301d6526d1610e523d6538404dc95b (patch)
treed621802ad0b715387788654f2b581443ea2c2ccd /tex/context/base/font-ctx.lua
parent5b7c7a51f408dbcce2a0926948c47e5bf045ed3d (diff)
downloadcontext-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.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