diff options
author | Hans Hagen <pragma@wxs.nl> | 2023-02-07 19:22:47 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2023-02-07 19:22:47 +0100 |
commit | d643b65f7ab840157f538914b07f8d3cddf94bec (patch) | |
tree | 7e81499d7428d62e640d5ec3e159f8d93ec4e52d /tex/context/base/mkxl/math-fnt.lmt | |
parent | 0d0874ba797ee44f9fa53ed0fe95d7a863bf2f1b (diff) | |
download | context-d643b65f7ab840157f538914b07f8d3cddf94bec.tar.gz |
2023-02-07 19:04:00
Diffstat (limited to 'tex/context/base/mkxl/math-fnt.lmt')
-rw-r--r-- | tex/context/base/mkxl/math-fnt.lmt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/math-fnt.lmt b/tex/context/base/mkxl/math-fnt.lmt index cf14b4aa2..911e0adb5 100644 --- a/tex/context/base/mkxl/math-fnt.lmt +++ b/tex/context/base/mkxl/math-fnt.lmt @@ -54,14 +54,13 @@ local cache = setmetatableindex(function(t,width) return v end) - local function register_extensible(font,char,style,box) -- We don't share (yet)! local fontdata = chardata[font] local oldchar = fontdata[char] if oldchar and oldchar.keepvirtual then -- for now, needed for iwona etc - return + return nil else local bx = tonut(box) updaters.apply("tagging.state.disable") -- fast enough @@ -81,7 +80,6 @@ local function register_extensible(font,char,style,box) local p = fonts.hashes.parameters[font] local sx = round(1000/p.extendfactor) local sy = round(1000/p.squeezefactor) - nuts.setscales(g,1000,sx,sy) -- we saved a scaled glyph stream so we now use an unscaled one ... horrible hack: if sx ~= 1000 then wd = wd * 7200/7227 @@ -98,6 +96,7 @@ local function register_extensible(font,char,style,box) cache[wd][ht][dp][font][unicode] = private end local glyph = new_glyph(font,private,al) + nuts.setscales(glyph,1000,sx,sy) -- -- if fonts.hashes.properties[font].compactmath then -- nuts.setscales(g,1000,1000,1000) |