summaryrefslogtreecommitdiff
path: root/otfl-font-otf.lua
diff options
context:
space:
mode:
Diffstat (limited to 'otfl-font-otf.lua')
-rw-r--r--otfl-font-otf.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/otfl-font-otf.lua b/otfl-font-otf.lua
index 75eb361..efe1319 100644
--- a/otfl-font-otf.lua
+++ b/otfl-font-otf.lua
@@ -1818,7 +1818,7 @@ function tfm.read_from_open_type(specification)
end
end
end
- tfmtable = tfm.scale(tfmtable,s)
+ tfmtable = tfm.scale(tfmtable,s,specification.relativeid)
-- here we resolve the name; file can be relocated, so this info is not in the cache
local filename = (otfdata and otfdata.luatex and otfdata.luatex.filename) or specification.filename
if not filename then