diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-04-02 14:05:52 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-04-02 14:05:52 +0200 |
commit | ae2c3eb500962f22cb836f415d3bab6da97e1fdd (patch) | |
tree | c509584b713396ee00fd8da18357dc98b9c6f840 /otfl-font-nms.lua | |
parent | 2b596d525fc8df86b636725304e4b5d6dbeb37f8 (diff) | |
download | luaotfload-ae2c3eb500962f22cb836f415d3bab6da97e1fdd.tar.gz |
Return the original name, not the normalised one
When we fallback to filename lookup, we should return the original name.
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r-- | otfl-font-nms.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua index ebd9b28..83b5277 100644 --- a/otfl-font-nms.lua +++ b/otfl-font-nms.lua @@ -156,7 +156,7 @@ function names.resolve(specification) logs.report("load font", "font family='%s', subfamily='%s' found: %s", name, style, closest.filename) return closest.filename, false else - return name, false -- fallback to filename + return specification.name, false -- fallback to filename end end else |