summaryrefslogtreecommitdiff
path: root/otfl-font-otf.lua
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-04-11 14:26:39 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-04-11 14:26:39 +0200
commit2f5da31926b15ba663a65335fd17e8970eb7b49d (patch)
tree59065fc6662673b26d66aeef75771a14b0effd04 /otfl-font-otf.lua
parenta34ba70ee4bf463c2ef499710bc319169c4d766b (diff)
downloadluaotfload-2f5da31926b15ba663a65335fd17e8970eb7b49d.tar.gz
Compatibility with LuaTeX 0.75
Diffstat (limited to 'otfl-font-otf.lua')
-rw-r--r--otfl-font-otf.lua2
1 files changed, 1 insertions, 1 deletions
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