summaryrefslogtreecommitdiff
path: root/src/luaotfload-loaders.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/luaotfload-loaders.lua')
-rw-r--r--src/luaotfload-loaders.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/luaotfload-loaders.lua b/src/luaotfload-loaders.lua
index fd3e711..68cc50f 100644
--- a/src/luaotfload-loaders.lua
+++ b/src/luaotfload-loaders.lua
@@ -52,9 +52,11 @@ end
local afm_reader = fonts.readers.afm
local afm_loader = function (specification)
- specification.forced = "afm"
- specification.sub = false
- return afm_reader (specification)
+ specification.forced = "afm"
+ specification.sub = false
+ specification.forcedname = file.addsuffix(specification.name, "afm")
+ inspect(specification)
+ return afm_reader (specification, "afm")
end
local afm_compat_message = function (specification)