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, 4 insertions, 0 deletions
diff --git a/otfl-font-xtx.lua b/otfl-font-xtx.lua
index 0fa2d69..236997c 100644
--- a/otfl-font-xtx.lua
+++ b/otfl-font-xtx.lua
@@ -203,6 +203,10 @@ function fonts.define.specify.colonized(specification) -- xetex mode
list.optsize = nil
end
if list.name then
+ if resolvers.find_file(list.name, "ofm") then
+ list.lookup = "file"
+ end
+
specification.name = list.name
list.name = nil
end