From 6329e52d8aa7381a248e4a7dbf734d2ad083c50f Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Thu, 25 Feb 2010 00:38:44 +0200 Subject: Updating to latest ConTeXt beta (2010.02.24) Now encoding related code gone. --- otfl-node-inj.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'otfl-node-inj.lua') 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) -- cgit v1.2.3