From 2f5da31926b15ba663a65335fd17e8970eb7b49d Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Thu, 11 Apr 2013 14:26:39 +0200 Subject: Compatibility with LuaTeX 0.75 --- otfl-font-otf.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'otfl-font-otf.lua') diff --git a/otfl-font-otf.lua b/otfl-font-otf.lua index b46bc91..ce54086 100644 --- a/otfl-font-otf.lua +++ b/otfl-font-otf.lua @@ -1100,7 +1100,7 @@ otf.enhancers["reorganize kerns"] = function(data,filename) if type(lookups) ~= "table" then lookups = { lookups } end - local maxfirsts, maxseconds = getn(firsts), getn(seconds) + local maxfirsts, maxseconds = #firsts, #seconds -- here we could convert split into a list of unicodes which is a bit -- faster but as this is only done when caching it does not save us much for _, s in next, firsts do -- cgit v1.2.3