summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2016-07-14 07:31:29 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2016-07-14 07:32:01 +0200
commit6ae6f2dec61a216b584e59b6953f0576f51c3902 (patch)
treef972c96ccf326053729544d32fda11fc14de2115
parentd1c8ea4d4e53f7304a768048b1c718a30bd9e7f4 (diff)
downloadluaotfload-6ae6f2dec61a216b584e59b6953f0576f51c3902.tar.gz
[loaders] make TFM take the AFM path
-rw-r--r--src/luaotfload-loaders.lua3
1 files changed, 2 insertions, 1 deletions
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")