summaryrefslogtreecommitdiff
path: root/tex/context/base/font-gds.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-04-05 22:00:00 +0200
committerHans Hagen <pragma@wxs.nl>2013-04-05 22:00:00 +0200
commit67eb8a2fa983fc472649cfdcb5b4a6ebe4739f62 (patch)
treeffa5a2fdbf7b456c7afbb3b947e5d31241f49375 /tex/context/base/font-gds.lua
parent94cf6213fbed1c43b46b4debdf05b682d5dba543 (diff)
downloadcontext-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.lua16
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,
+ }
+}