summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2011-10-04 01:44:15 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2011-10-04 02:10:43 +0200
commit11daf48daa80703990105bd37ffcf339586120ea (patch)
treee78d631a4a279a1fbec641106f0a680ff4131cfd /otfl-font-nms.lua
parentd924d8b463f4f177a0e767f7eb80c443ce55582d (diff)
downloadluaotfload-11daf48daa80703990105bd37ffcf339586120ea.tar.gz
Patch otfl-font-def.lua, not yet working
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r--otfl-font-nms.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index dcd75d3..ec0dc91 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -97,7 +97,7 @@ local synonyms = {
local loaded = false
local reloaded = false
-function names.resolve(specification)
+function names.resolve(_,_,specification)
local name = sanitize(specification.name)
local style = sanitize(specification.style) or "regular"
@@ -221,7 +221,7 @@ function names.resolve(specification)
names.data = names.update(names.data)
names.save(names.data)
reloaded = true
- return names.resolve(specification)
+ return names.resolve(_,_,specification)
else
-- else, fallback to filename
-- XXX: specification.name is empty with absolute paths, looks
@@ -234,7 +234,7 @@ function names.resolve(specification)
names.data = names.update()
names.save(names.data)
reloaded = true
- return names.resolve(specification)
+ return names.resolve(_,_,specification)
else
return specification.name, false
end