diff options
Diffstat (limited to 'tex/context/base/font-def.lua')
-rw-r--r-- | tex/context/base/font-def.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/font-def.lua b/tex/context/base/font-def.lua index ed92351e6..61c40c580 100644 --- a/tex/context/base/font-def.lua +++ b/tex/context/base/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 |