summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
diff options
context:
space:
mode:
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r--otfl-font-nms.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index 5c001c5..5dfa998 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -103,9 +103,9 @@ function names.resolve(specification)
if tfm then
-- is a tfm font, skip names database
- return specification.name .. ".tfm", false
+ return specification.name, false
elseif ofm then
- return specification.name .. ".ofm", false
+ return specification.name, false
end
local name = sanitize(specification.name)