diff options
author | Hans Hagen <pragma@wxs.nl> | 2013-04-05 22:00:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2013-04-05 22:00:00 +0200 |
commit | 67eb8a2fa983fc472649cfdcb5b4a6ebe4739f62 (patch) | |
tree | ffa5a2fdbf7b456c7afbb3b947e5d31241f49375 /tex/context/base/font-gds.lua | |
parent | 94cf6213fbed1c43b46b4debdf05b682d5dba543 (diff) | |
download | context-67eb8a2fa983fc472649cfdcb5b4a6ebe4739f62.tar.gz |
beta 2013.04.05 22:00
Diffstat (limited to 'tex/context/base/font-gds.lua')
-rw-r--r-- | tex/context/base/font-gds.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tex/context/base/font-gds.lua b/tex/context/base/font-gds.lua index 810d49eea..91a5ea66c 100644 --- a/tex/context/base/font-gds.lua +++ b/tex/context/base/font-gds.lua @@ -719,3 +719,19 @@ end commands.loadfontgoodies = fontgoodies.load commands.enablefontcolorschemes = colorschemes.enable + +-- weird place ... depends on math + +local function finalize(tfmdata,feature,value) + mathematics.overloaddimensions(tfmdata,tfmdata,value) +end + +registerotffeature { + name = "mathdimensions", + description = "manipulate math dimensions", + -- default = true, + manipulators = { + base = finalize, + node = finalize, + } +} |