diff options
author | Marius <mariausol@gmail.com> | 2011-02-16 12:00:14 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-02-16 12:00:14 +0200 |
commit | 848a55f9b6b0ce0843811b98f3fb22985ac62bdd (patch) | |
tree | e971c55c4c43b5d228a5f3caa751f4ec8d2afcf6 /tex/context/base/font-col.lua | |
parent | b806c83e0359c66b1651b5039a126a2aa0186fa9 (diff) | |
download | context-848a55f9b6b0ce0843811b98f3fb22985ac62bdd.tar.gz |
beta 2011.02.16 10:54
Diffstat (limited to 'tex/context/base/font-col.lua')
-rw-r--r-- | tex/context/base/font-col.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/font-col.lua b/tex/context/base/font-col.lua index e1c2afe48..4b888d6cb 100644 --- a/tex/context/base/font-col.lua +++ b/tex/context/base/font-col.lua @@ -146,6 +146,8 @@ function collections.stage_2(name) statistics.stoptiming(fonts) end +-- we already have this parser + local P, Cc = lpeg.P, lpeg.Cc local spec = (P("sa") + P("at") + P("scaled") + P("at") + P("mo")) * P(" ")^1 * (1-P(" "))^1 * P(" ")^0 * -1 local okay = ((1-spec)^1 * spec * Cc(true)) + Cc(false) @@ -190,7 +192,7 @@ function collections.message(message) end end -function collections.process(head) +function collections.process(head) -- this way we keep feature processing if active then local done = false for n in traverse_id(glyph,head) do |