summaryrefslogtreecommitdiff
path: root/otfl-font-otf.lua
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-04-23 07:26:22 -0700
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-04-23 07:26:22 -0700
commit2c756cd0059c3f2a9fc976fc5a87bac989dcca82 (patch)
tree4616afdd6e40f23b99c0ef98f7cec8a56a8df470 /otfl-font-otf.lua
parenta34ba70ee4bf463c2ef499710bc319169c4d766b (diff)
parent6859514d34678f900d0806777aaf59e8055afcbe (diff)
downloadluaotfload-2c756cd0059c3f2a9fc976fc5a87bac989dcca82.tar.gz
Merge pull request #2 from eroux/texlive2011
Texlive2011
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