summaryrefslogtreecommitdiff
path: root/otfl-font-xtx.lua
diff options
context:
space:
mode:
Diffstat (limited to 'otfl-font-xtx.lua')
-rw-r--r--otfl-font-xtx.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/otfl-font-xtx.lua b/otfl-font-xtx.lua
index c8bcd22..8d81e02 100644
--- a/otfl-font-xtx.lua
+++ b/otfl-font-xtx.lua
@@ -204,10 +204,10 @@ function fonts.define.specify.colonized(specification) -- xetex mode
if list.name then
if resolvers.find_file(list.name, "tfm") then
list.lookup = "file"
- list.name = list.name .. ".tfm"
+ list.name = file.addsuffix(list.name, "tfm")
elseif resolvers.find_file(list.name, "ofm") then
list.lookup = "file"
- list.name = list.name .. ".ofm"
+ list.name = file.addsuffix(list.name, "ofm")
end
specification.name = list.name