diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-11-22 22:57:54 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-11-22 22:57:54 +0100 |
commit | 8d75b6caf54310bf17db7e5a9d91939fe97c4036 (patch) | |
tree | 599429d5a8a58b64f708e09f8f1b625ce245e930 /tex/context/base/mkxl/math-fnt.lmt | |
parent | 4a439fa6665c12aac6219acc8c148c5c1d091116 (diff) | |
download | context-8d75b6caf54310bf17db7e5a9d91939fe97c4036.tar.gz |
2021-11-22 22:30:00
Diffstat (limited to 'tex/context/base/mkxl/math-fnt.lmt')
-rw-r--r-- | tex/context/base/mkxl/math-fnt.lmt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/math-fnt.lmt b/tex/context/base/mkxl/math-fnt.lmt index a3ac1aea3..e6978d6cd 100644 --- a/tex/context/base/mkxl/math-fnt.lmt +++ b/tex/context/base/mkxl/math-fnt.lmt @@ -15,7 +15,8 @@ local vlist_code = nodes.nodecodes.vlist local new_hlist = nodepool.hlist local new_vlist = nodepool.vlist -local new_glyph = nodepool.glyph +----- new_glyph = nodepool.glyph +local new_glyph = nuts.newmathglyph local getattrlst = nuts.getattributelist local setattrlst = nuts.setattributelist @@ -25,6 +26,8 @@ local getid = nuts.getid local chardata = fonts.hashes.characters +-- not yet ok for compact fonts .. needs checking .. or just make this non-compact only + local function register_extensible(font,char,style,box) local bx = tonut(box) nodes.handlers.finalizelist(bx) @@ -32,8 +35,9 @@ local function register_extensible(font,char,style,box) local al = getattrlst(bx) local wd, ht, dp = getwhd(bx) local private = fonts.helpers.setboxdirectly(font,chardata[font][char].unicode or char,box) - local g = new_glyph(font,private) - setattrlst(g,al) + -- local g = new_glyph(font,private) + -- setattrlst(g,al) + local g = new_glyph(font,private,al) local n = new_hlist(g) setwhd(n,wd,ht,dp) setattrlst(n,al) |