summaryrefslogtreecommitdiff
path: root/otfl-font-def.lua
diff options
context:
space:
mode:
Diffstat (limited to 'otfl-font-def.lua')
-rw-r--r--otfl-font-def.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/otfl-font-def.lua b/otfl-font-def.lua
index 0cbff06..f64bae5 100644
--- a/otfl-font-def.lua
+++ b/otfl-font-def.lua
@@ -534,8 +534,10 @@ function define.register(fontdata,id)
if trace_defining then
logs.report("define font","loading at 2 id %s, hash: %s",id or "?",hash or "?")
end
- fonts.ids[id] = fontdata
- fonts.chr[id] = fontdata.characters
+ fonts.identifiers[id] = fontdata
+ fonts.characters [id] = fontdata.characters
+ fonts.quads [id] = fontdata.parameters.quad
+ -- todo: extra functions, e.g. setdigitwidth etc in list
tfm.internalized[hash] = id
end
end