summaryrefslogtreecommitdiff
path: root/src/luaotfload-database.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2016-02-19 00:51:24 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2016-02-19 00:51:29 +0100
commit128b29a4260f0454996f5663a02c0f7c575b2d6b (patch)
tree2eb5a849bf247a17e6204c0edae7d5173927588e /src/luaotfload-database.lua
parent1a6a253e85e609d37113585081b6cf9711757208 (diff)
downloadluaotfload-128b29a4260f0454996f5663a02c0f7c575b2d6b.tar.gz
[features,loaders] fix lookup conflicts via introduction of “evl” lookup
This introduces a forced lookup type “evl” that bypasses the other methods. The specification is extended with the correct values including a more meaningful hash string. As a result, the loader no longer attempts to interpret the specification as a “file:” request but the backend can still resolve the necessary files.
Diffstat (limited to 'src/luaotfload-database.lua')
-rw-r--r--src/luaotfload-database.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luaotfload-database.lua b/src/luaotfload-database.lua
index 367723b..1d5dfd8 100644
--- a/src/luaotfload-database.lua
+++ b/src/luaotfload-database.lua
@@ -583,8 +583,6 @@ local style_category = {
local type1_metrics = { "tfm", "ofm", }
-local dummy_findfile = resolvers.findfile -- from basics-gen
-
local lookup_filename = function (filename)
if not name_index then name_index = load_names () end
local files = name_index.files
@@ -630,6 +628,8 @@ end
--doc]]--
+local dummy_findfile = resolvers.findfile -- from basics-gen
+
--- string -> string * string * bool
local lookup_font_file
lookup_font_file = function (filename)