diff options
author | Marius <mariausol@gmail.com> | 2012-08-09 19:00:14 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-08-09 19:00:14 +0300 |
commit | 0b00489585cd59b7165030979c9244d9091dd952 (patch) | |
tree | c6999e6effab1bb4368b03d44aee0c3cb4779221 /tex/context/base/font-otn.lua | |
parent | 343077218254bccdd7e518c5cc74d473d0bbf605 (diff) | |
download | context-0b00489585cd59b7165030979c9244d9091dd952.tar.gz |
beta 2012.08.09 17:17
Diffstat (limited to 'tex/context/base/font-otn.lua')
-rw-r--r-- | tex/context/base/font-otn.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/font-otn.lua b/tex/context/base/font-otn.lua index d97ef7363..9e233a7a7 100644 --- a/tex/context/base/font-otn.lua +++ b/tex/context/base/font-otn.lua @@ -488,12 +488,12 @@ function handlers.gsub_alternate(start,kind,lookupname,alternative,sequence) local choice = get_alternative_glyph(start,alternative,value) if choice then if trace_alternatives then - logprocess("%s: replacing %s by alternative %s (%s)",pref(kind,lookupname),gref(char),gref(choice),choice) + logprocess("%s: replacing %s by alternative %s (%s)",pref(kind,lookupname),gref(start.char),gref(choice),choice) end start.char = choice else if trace_alternatives then - logwarning("%s: no variant %s for %s",pref(kind,lookupname),tostring(value),gref(char)) + logwarning("%s: no variant %s for %s",pref(kind,lookupname),tostring(value),gref(start.char)) end end return start, true @@ -2030,6 +2030,8 @@ end -- start = start.next -- end +-- there will be a new direction parser (pre-parsed etc) + local function featuresprocessor(head,font,attr) local lookuphash = lookuphashes[font] -- we can also check sequences here |