From 6ae6f2dec61a216b584e59b6953f0576f51c3902 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Thu, 14 Jul 2016 07:31:29 +0200 Subject: [loaders] make TFM take the AFM path --- src/luaotfload-loaders.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/luaotfload-loaders.lua b/src/luaotfload-loaders.lua index 68cc50f..b544cf1 100644 --- a/src/luaotfload-loaders.lua +++ b/src/luaotfload-loaders.lua @@ -55,7 +55,7 @@ local afm_loader = function (specification) specification.forced = "afm" specification.sub = false specification.forcedname = file.addsuffix(specification.name, "afm") - inspect(specification) +--inspect(specification) return afm_reader (specification, "afm") end @@ -98,6 +98,7 @@ local install_formats = function () and aux ("lua", lua_reader) and aux ("pfa", unsupported_reader "pfa") and aux ("afm", afm_loader) + and aux ("tfm", afm_loader) and aux ("pfb", afm_compat_message) --- pfb loader is incomplete and aux ("ofm", readers.tfm) and aux ("dfont", unsupported_reader "dfont") -- cgit v1.2.3