summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2010-05-18 12:53:46 +0300
committerElie Roux <elie.roux@telecom-bretagne.eu>2010-05-18 12:53:46 +0300
commitbaa8e11f556a659aa9769afe4b28d0c2b52e73a5 (patch)
tree247df51862da878d83c7a7edfd849091ee9a3e48
parentae95560cc13d2401d88b5575100f2c815847da39 (diff)
downloadluaotfload-baa8e11f556a659aa9769afe4b28d0c2b52e73a5.tar.gz
Removing the .tfm and .ofm additional extention
Without this my .ofm fonts don't work... Does this commit do something else wrong?
-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)