summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/math-vfu.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/math-vfu.lua')
-rw-r--r--tex/context/base/mkiv/math-vfu.lua9
1 files changed, 2 insertions, 7 deletions
diff --git a/tex/context/base/mkiv/math-vfu.lua b/tex/context/base/mkiv/math-vfu.lua
index c7079caca..627f85e57 100644
--- a/tex/context/base/mkiv/math-vfu.lua
+++ b/tex/context/base/mkiv/math-vfu.lua
@@ -628,10 +628,6 @@ setmetatableindex(reverse, function(t,name)
return r
end)
--- use char and font hash
---
--- commands = { { "font", slot }, { "char", unicode } },
-
local function copy_glyph(main,target,original,unicode,slot)
local addprivate = fonts.helpers.addprivate
local olddata = original[unicode]
@@ -851,10 +847,8 @@ function vfmath.define(specification,set,goodies)
main.fullname = properties.fullname
main.nomath = false
--
-if not CONTEXTLMTXMODE or CONTEXTLMTXMODE == 0 then
properties.virtualized = true
main.type = "virtual"
-end
--
parameters.x_height = parameters.x_height or 0
--
@@ -1114,7 +1108,8 @@ end
-- so better is to also reserve the id already which then involves some more
-- management (so not now).
fontlist[#fontlist+1] = {
- id = font.nextid(),
+ -- id = font.nextid(),
+ id = 0, -- self
size = size,
}
vfmath.addmissing(main,#fontlist,size)