diff options
Diffstat (limited to 'tex/context/base/font-otx.lua')
-rw-r--r-- | tex/context/base/font-otx.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tex/context/base/font-otx.lua b/tex/context/base/font-otx.lua index 8185dcf1e..d276b8a15 100644 --- a/tex/context/base/font-otx.lua +++ b/tex/context/base/font-otx.lua @@ -307,15 +307,16 @@ function methods.arab(head,font,attr) end elseif classifier == s_fina then if last then - if not last[a_state] == s_init then + if last[a_state] ~= s_init then last[a_state] = s_medi end current[a_state] = s_fina first, last = nil, nil elseif first then - if not last[a_state] == s_init then - last[a_state] = s_medi - end + -- if first[a_state] ~= s_init then + -- -- needs checking + -- first[a_state] = s_medi + -- end current[a_state] = s_fina first = nil else |