summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--luaotfload-fonts.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/luaotfload-fonts.lua b/luaotfload-fonts.lua
index 2a5d4ba..b3348ef 100644
--- a/luaotfload-fonts.lua
+++ b/luaotfload-fonts.lua
@@ -122,8 +122,8 @@ local function load_font(filename, names, texmf)
if not families[fullinfo.family] then
families[fullinfo.family] = { }
end
- families[fullinfo.family][fullinfo.style] = texmf and basename(filename) or filename
- psnames[fullinfo.psname] = texmf and basename(filename) or filename
+ families[fullinfo.family][fullinfo.style] = {texmf and basename(filename) or filename}
+ psnames[fullinfo.psname] = {texmf and basename(filename) or filename}
end
else
log("Failed to load %s", filename)