diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2014-04-22 07:15:12 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2014-04-22 07:15:12 +0200 |
commit | 3657b9c19c70eb0b52dfa1c67956776a6fd77d4a (patch) | |
tree | 0ba8c6d9060a1554e2538652c5054e4142c16e15 /src/luaotfload-database.lua | |
parent | a84ec1cd4b7cc06fec1d2cf5e5f5e0cbd9115637 (diff) | |
download | luaotfload-3657b9c19c70eb0b52dfa1c67956776a6fd77d4a.tar.gz |
[tool,db,conf] integrate defaults into new config model
Diffstat (limited to 'src/luaotfload-database.lua')
-rw-r--r-- | src/luaotfload-database.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/luaotfload-database.lua b/src/luaotfload-database.lua index 7165d07..013e6e8 100644 --- a/src/luaotfload-database.lua +++ b/src/luaotfload-database.lua @@ -650,7 +650,7 @@ local style_category = { i = "italic", } -local type1_formats = { "tfm", "ofm", } +local type1_metrics = { "tfm", "ofm", } local dummy_findfile = resolvers.findfile -- from basics-gen @@ -692,8 +692,8 @@ crude_file_lookup_verbose = function (filename) end --- ofm and tfm, returns pair - for i=1, #type1_formats do - local format = type1_formats[i] + for i=1, #type1_metrics do + local format = type1_metrics[i] if resolvers.findfile(filename, format) then return file.addsuffix(filename, format), format, true end @@ -748,8 +748,8 @@ crude_file_lookup = function (filename) return found, nil, true end - for i=1, #type1_formats do - local format = type1_formats[i] + for i=1, #type1_metrics do + local format = type1_metrics[i] if resolvers.findfile(filename, format) then return file.addsuffix(filename, format), format, true end |