diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2014-05-18 20:57:45 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2014-05-18 20:57:45 +0200 |
commit | aca3f50f6806f838b6acbaa2f7012fc6b12d5080 (patch) | |
tree | 65a1f5853a5d6c69f0bf586e9e16c9803bba3c62 /src | |
parent | 773ad91399a0e4c8c1c9525f2454ee7c8e99b03e (diff) | |
download | luaotfload-aca3f50f6806f838b6acbaa2f7012fc6b12d5080.tar.gz |
[main] log name: requests independent of fontloader
Diffstat (limited to 'src')
-rw-r--r-- | src/luaotfload-auxiliary.lua | 4 | ||||
-rw-r--r-- | src/luaotfload-features.lua | 4 | ||||
-rw-r--r-- | src/luaotfload-main.lua | 4 |
3 files changed, 7 insertions, 5 deletions
diff --git a/src/luaotfload-auxiliary.lua b/src/luaotfload-auxiliary.lua index 716af98..14c2ab5 100644 --- a/src/luaotfload-auxiliary.lua +++ b/src/luaotfload-auxiliary.lua @@ -54,7 +54,7 @@ local start_rewrite_fontname = function () rewrite_fontname, "luaotfload.rewrite_fontname") rewriting = true - report ("log", 0, "aux", + report ("log", 1, "aux", "start rewriting tfmdata.name field") end end @@ -66,7 +66,7 @@ local stop_rewrite_fontname = function () luatexbase.remove_fromt_callback ("luaotfload.patch_font", "luaotfload.rewrite_fontname") rewriting = false - report ("log", 0, "aux", + report ("log", 1, "aux", "stop rewriting tfmdata.name field") end end diff --git a/src/luaotfload-features.lua b/src/luaotfload-features.lua index 1200d9e..4ad188f 100644 --- a/src/luaotfload-features.lua +++ b/src/luaotfload-features.lua @@ -808,13 +808,13 @@ local set_default_features = function (speclist) end speclist.script = script - report("log", 0, "load", + report("log", 1, "load", "auto-selecting default features for script: %s", script) local requested = defaults[script] if not requested then - report("log", 0, "load", + report("log", 1, "load", "no defaults for script %q, falling back to \"dflt\"", script) requested = defaults.dflt diff --git a/src/luaotfload-main.lua b/src/luaotfload-main.lua index d8dc1d1..dba1f52 100644 --- a/src/luaotfload-main.lua +++ b/src/luaotfload-main.lua @@ -565,7 +565,7 @@ request_resolvers.path = function (specification) local name = specification.name local exists, _ = lfsisfile(name) if not exists then -- resort to file: lookup - report ("log", 1, "load", + report ("log", 0, "load", "path lookup of %q unsuccessful, falling back to file:", name) file_resolver (specification) @@ -625,6 +625,8 @@ request_resolvers.name = function (specification) end local resolved, subfont = resolver (specification) if resolved then + report ("log", 0, "load", "Lookup/name: %q -> \"%s(%d)\"", + specification.name, resolved, subfont) specification.resolved = resolved specification.sub = subfont specification.forced = filesuffix (resolved) |