diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-01-05 11:45:00 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-01-05 11:45:00 +0100 |
commit | 6032373f72b7980d5b197eb371f1d56ecb800ee8 (patch) | |
tree | a4b8909aea02ccedcffac468dc80e5c7d88850e6 /tex/context/base/mkiv/font-con.lua | |
parent | a04a6e9b9b68a836f27d971115fd1049c04e6c19 (diff) | |
download | context-6032373f72b7980d5b197eb371f1d56ecb800ee8.tar.gz |
2021-01-05 10:44:00
Diffstat (limited to 'tex/context/base/mkiv/font-con.lua')
-rw-r--r-- | tex/context/base/mkiv/font-con.lua | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/tex/context/base/mkiv/font-con.lua b/tex/context/base/mkiv/font-con.lua index 7162338c6..f650e5b03 100644 --- a/tex/context/base/mkiv/font-con.lua +++ b/tex/context/base/mkiv/font-con.lua @@ -600,13 +600,17 @@ function constructors.scale(tfmdata,specification) -- if hasmath then constructors.assignmathparameters(target,tfmdata) -- does scaling and whatever is needed - properties.hasmath = true - target.nomath = false - target.MathConstants = target.mathparameters + properties.hasmath = true + target.nomath = false + target.MathConstants = target.mathparameters + -- + local oldmath = properties.oldmath + targetproperties.oldmath = oldmath + target.oldmath = oldmath else - properties.hasmath = false - target.nomath = true - target.mathparameters = nil -- nop + properties.hasmath = false + target.nomath = true + target.mathparameters = nil -- nop end -- -- Here we support some context specific trickery (this might move to a plugin). During the |