diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-02-25 00:38:44 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-02-25 00:41:34 +0200 |
commit | 6329e52d8aa7381a248e4a7dbf734d2ad083c50f (patch) | |
tree | 67c0f600cede869caf726c5d77a1d6371d6aa137 /otfl-node-inj.lua | |
parent | e064aa2dc70fb819cfdb6b3c0bdf1d081859584f (diff) | |
download | luaotfload-6329e52d8aa7381a248e4a7dbf734d2ad083c50f.tar.gz |
Updating to latest ConTeXt beta (2010.02.24)
Now encoding related code gone.
Diffstat (limited to 'otfl-node-inj.lua')
-rw-r--r-- | otfl-node-inj.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/otfl-node-inj.lua b/otfl-node-inj.lua index 4c58409..9c4612a 100644 --- a/otfl-node-inj.lua +++ b/otfl-node-inj.lua @@ -70,7 +70,8 @@ function nodes.set_pair(current,factor,rlmode,r2lflag,spec,tfmchr) local bound = has_attribute(current,kernpair) if bound then local kb = kerns[bound] - kb[2], kb[3], kb[4], kb[5] = kb[2] + x, kb[3] + y, kb[4] + w, kb[5] + h + -- inefficient but singles have less, but weird anyway, needs checking + kb[2], kb[3], kb[4], kb[5] = (kb[2] or 0) + x, (kb[3] or 0) + y, (kb[4] or 0)+ w, (kb[5] or 0) + h else bound = #kerns + 1 set_attribute(current,kernpair,bound) |