diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/math-fbk.lua')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mkiv/math-fbk.lua | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/math-fbk.lua b/Master/texmf-dist/tex/context/base/mkiv/math-fbk.lua index 963461de5cf..6b43a901bdd 100644 --- a/Master/texmf-dist/tex/context/base/mkiv/math-fbk.lua +++ b/Master/texmf-dist/tex/context/base/mkiv/math-fbk.lua @@ -53,13 +53,15 @@ function fallbacks.apply(target,original) -- we also have forcedsize ... at this moment we already passed through -- constructors.scale so we have this set local parameters = target.parameters + local properties = target.properties local mathsize = parameters.mathsize if mathsize < 1 or mathsize > 3 then return end - local characters = target.characters - local size = parameters.size - local usedfonts = target.fonts + local characters = target.characters + local size = parameters.size + local usedfonts = target.fonts + local compactmath = properties.compactmath if not usedfonts then usedfonts = { { id = 0 } } -- we need at least one entry (automatically done anyway) target.fonts = usedfonts @@ -91,6 +93,10 @@ function fallbacks.apply(target,original) else textdata = target end + if compactmath then + scriptid = textid + scriptscriptid = textid + end if scriptid and scriptid ~= 0 then scriptindex = #usedfonts + 1 scriptdata = identifiers[scriptid] |