summaryrefslogtreecommitdiff
path: root/otfl-font-dum.lua
diff options
context:
space:
mode:
Diffstat (limited to 'otfl-font-dum.lua')
-rw-r--r--otfl-font-dum.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/otfl-font-dum.lua b/otfl-font-dum.lua
index d1d1b0a..e1f7822 100644
--- a/otfl-font-dum.lua
+++ b/otfl-font-dum.lua
@@ -54,7 +54,8 @@ fonts.names.old_to_new = { }
local data, loaded = nil, false
-function fonts.names.resolve(name,sub,style)
+function fonts.names.resolve(specification)
+ local name, sub, style = specification.name, specification.sub, specification.style
if not loaded then
local basename = fonts.names.basename
if basename and basename ~= "" then