summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/typo-rub.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-02-14 18:39:39 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-02-14 18:39:39 +0100
commit70a938c4934f042face9805fc4c392c0676b11d5 (patch)
treed52842123c68d63c101ba5b2d1de41c0908c9b9e /tex/context/base/mkiv/typo-rub.lua
parent416dffef7b9d3f8db26b614588f2e63d7f5db89f (diff)
downloadcontext-70a938c4934f042face9805fc4c392c0676b11d5.tar.gz
2019-02-14 17:05:00
Diffstat (limited to 'tex/context/base/mkiv/typo-rub.lua')
-rw-r--r--tex/context/base/mkiv/typo-rub.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/tex/context/base/mkiv/typo-rub.lua b/tex/context/base/mkiv/typo-rub.lua
index 9b3bdb9d8..da63d7b64 100644
--- a/tex/context/base/mkiv/typo-rub.lua
+++ b/tex/context/base/mkiv/typo-rub.lua
@@ -204,7 +204,7 @@ function rubies.check(head)
setprev(start)
setnext(stop)
local h = hpack(start)
- if prev == head then
+ if start == head then
head = h
else
setlink(prev,h)
@@ -243,20 +243,21 @@ function rubies.check(head)
start = current
stop = current
end
+ -- go on
elseif id == kern_code and getsubtype(current,fontkern_code) then
-- go on
elseif found and id == disc_code then
-- go on (todo: look into disc)
elseif found then
- flush("flush 4")
+ flush("flush 3")
found = nil
end
current = nx
end
if found then
- flush("flush 5")
+ flush("flush 4")
end
- return head, true
+ return head, true -- no need for true
end
local attach