diff options
author | Hans Hagen <pragma@wxs.nl> | 2018-10-02 23:41:59 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2018-10-02 23:41:59 +0200 |
commit | 551c89289d267c2d8901f3375e57ed1fe2508de5 (patch) | |
tree | 937be4d873b1762d93fcce75ecca3cfea07b2ca4 /tex/context/base/mkiv/math-ini.lua | |
parent | e3ad6b783e6162de6dad5531299e69c3d3079b9c (diff) | |
download | context-551c89289d267c2d8901f3375e57ed1fe2508de5.tar.gz |
2018-10-02 23:25:00
Diffstat (limited to 'tex/context/base/mkiv/math-ini.lua')
-rw-r--r-- | tex/context/base/mkiv/math-ini.lua | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/math-ini.lua b/tex/context/base/mkiv/math-ini.lua index d301b0065..5491078f3 100644 --- a/tex/context/base/mkiv/math-ini.lua +++ b/tex/context/base/mkiv/math-ini.lua @@ -36,8 +36,15 @@ local report_math = logs.reporter("mathematics","initializing") mathematics = mathematics or { } local mathematics = mathematics -mathematics.extrabase = 0xFE000 -- here we push some virtuals -mathematics.privatebase = 0xFF000 -- here we push the ex +mathematics.extrabase = fonts.privateoffsets.mathextrabase -- here we push some virtuals +mathematics.privatebase = fonts.privateoffsets.mathbase -- here we push the ex + +fonts.privateoffsets = { + textbase = 0xF0000, -- used for hidden (opentype features) + textextrabase = 0xFD000, -- used for visible by name + mathextrabase = 0xFE000, -- used for visible by code + mathbase = 0xFF000, -- used for hidden (virtual math) +} local unsetvalue = attributes.unsetvalue local allocate = utilities.storage.allocate |