summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--otfl-font-dum.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/otfl-font-dum.lua b/otfl-font-dum.lua
index d9fabfa..0859f6d 100644
--- a/otfl-font-dum.lua
+++ b/otfl-font-dum.lua
@@ -80,14 +80,14 @@ function fonts.names.resolve(name,sub,style)
family = family[style]
local fontname, filename, subfont = family, family[1], family[2]
if subfont then
- return filename, fontname
+ return filename, subfont
else
return filename, false
end
elseif psname then
local fontname, filename, subfont = psname, psname[1], psname[2]
if subfont then
- return filename, fontname
+ return filename, subfont
else
return filename, false
end