summaryrefslogtreecommitdiff
path: root/tex/context/base/math-vfu.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-08-08 20:00:24 +0300
committerMarius <mariausol@gmail.com>2013-08-08 20:00:24 +0300
commit5365c4c218833b6b7e07e00c9445b3de9b32ebec (patch)
tree7cfd5e67d8375bd1401c56c665b6eb1951eb10aa /tex/context/base/math-vfu.lua
parent7e69eda2c0f61a9c55ee44c8bff3573b151447ff (diff)
downloadcontext-5365c4c218833b6b7e07e00c9445b3de9b32ebec.tar.gz
beta 2013.08.08 18:39
Diffstat (limited to 'tex/context/base/math-vfu.lua')
-rw-r--r--tex/context/base/math-vfu.lua9
1 files changed, 6 insertions, 3 deletions
diff --git a/tex/context/base/math-vfu.lua b/tex/context/base/math-vfu.lua
index cd30ad6b9..6d9a9f903 100644
--- a/tex/context/base/math-vfu.lua
+++ b/tex/context/base/math-vfu.lua
@@ -605,8 +605,9 @@ local function copy_glyph(main,target,original,unicode,slot)
height = oldnextdata.height,
depth = oldnextdata.depth,
}
- local newnextglyph = addprivate(main,formatters["original-%H"](nextglyph),newnextdata)
+ local newnextglyph = addprivate(main,formatters["M-N-%H"](nextglyph),newnextdata)
newdata.next = newnextglyph
+-- report_virtual("copied next: %X",newdata.next)
local nextnextglyph = oldnextdata.next
if nextnextglyph == nextglyph then
break
@@ -630,7 +631,8 @@ local function copy_glyph(main,target,original,unicode,slot)
height = olddata.height,
depth = olddata.depth,
}
- hvi.glyph = addprivate(main,formatters["original-%H"](oldglyph),newdata)
+ hvi.glyph = addprivate(main,formatters["M-H-%H"](oldglyph),newdata)
+-- report_virtual("copied h variant: %X at index %i",hvi.glyph,i)
end
end
local vv = olddata.vert_variants
@@ -647,7 +649,8 @@ local function copy_glyph(main,target,original,unicode,slot)
height = olddata.height,
depth = olddata.depth,
}
- vvi.glyph = addprivate(main,formatters["original-%H"](oldglyph),newdata)
+ vvi.glyph = addprivate(main,formatters["M-V-%H"](oldglyph),newdata)
+-- report_virtual("copied v variant: %X at index %i",vvi.glyph,i)
end
end
return newdata