summaryrefslogtreecommitdiff
path: root/otfl-font-xtx.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-10-28 20:59:32 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2010-11-03 03:52:07 +0200
commitf089d7c2866791b5b48c07fe6a6c001727ca50c1 (patch)
tree12f96bc60d89f21d627c8a0c4c109853d073acc1 /otfl-font-xtx.lua
parent808e70bd7ccff7c25c4e1979bf9eec204ed8cb3c (diff)
downloadluaotfload-f089d7c2866791b5b48c07fe6a6c001727ca50c1.tar.gz
Now `make check-all` runs successfully again
Diffstat (limited to 'otfl-font-xtx.lua')
-rw-r--r--otfl-font-xtx.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/otfl-font-xtx.lua b/otfl-font-xtx.lua
index dc3c6b9..574e161 100644
--- a/otfl-font-xtx.lua
+++ b/otfl-font-xtx.lua
@@ -38,7 +38,7 @@ local normalize_meanings = fonts.otf.meanings.normalize
local list = { }
-fonts.define.specify.colonized_default_lookup = "file"
+specifiers.colonizedpreference = "file"
local function isstyle(s)
local style = string.lower(s):split("/")
@@ -181,10 +181,10 @@ local function colonized(specification) -- xetex mode
list.optsize = nil
end
if list.name then
- if resolvers.find_file(list.name, "tfm") then
+ if resolvers.findfile(list.name, "tfm") then
list.lookup = "file"
list.name = file.addsuffix(list.name, "tfm")
- elseif resolvers.find_file(list.name, "ofm") then
+ elseif resolvers.findfile(list.name, "ofm") then
list.lookup = "file"
list.name = file.addsuffix(list.name, "ofm")
end