diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-01-15 07:22:37 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-01-15 08:28:19 +0200 |
commit | d219fcfa58d00d321aaf8966c7d62a38d0cb4d45 (patch) | |
tree | cf2bc429d5edfd9d3dd2b57f4278e0f04a255fa2 | |
parent | e9a6ba1faeb7d7e943e386286aa76e9c6345ed62 (diff) | |
download | luaotfload-d219fcfa58d00d321aaf8966c7d62a38d0cb4d45.tar.gz |
Fix loading subfonts
-rw-r--r-- | otfl-font-dum.lua | 4 |
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 |