diff options
author | Hans Hagen <pragma@wxs.nl> | 2011-03-25 18:03:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2011-03-25 18:03:00 +0100 |
commit | 4ed30744220cf0763f968c837b0ff7dd367f19b2 (patch) | |
tree | 28d1dce431e679b3a6d28edef78cb38096d4c94f /tex/context/fonts/asana-math.lfg | |
parent | 3c5dbaefc44f38d6da23a7db2c06a0a4af0996fa (diff) | |
download | context-4ed30744220cf0763f968c837b0ff7dd367f19b2.tar.gz |
beta 2011.03.25 18:03
Diffstat (limited to 'tex/context/fonts/asana-math.lfg')
-rw-r--r-- | tex/context/fonts/asana-math.lfg | 33 |
1 files changed, 30 insertions, 3 deletions
diff --git a/tex/context/fonts/asana-math.lfg b/tex/context/fonts/asana-math.lfg index 160b310f5..f845ca4de 100644 --- a/tex/context/fonts/asana-math.lfg +++ b/tex/context/fonts/asana-math.lfg @@ -1,7 +1,7 @@ -- This patch code is moved from font-pat.lua to this goodies --- files as it does not belomg in the core code. +-- files as it does not belong in the core code. -local patches = fonts.otf.enhancers.patches +local patches = fonts.handlers.otf.enhancers.patches local function patch(data,filename,threshold) local m = data.metadata.math @@ -16,10 +16,37 @@ end patches.register("after","check math parameters","asana",function(data,filename) patch(data,filename,1350) end) +local function less(value,target,original) return 0.25 * value end + return { - name = "lm-asana", + name = "asana-math", version = "1.00", comment = "Goodies that complement asana.", author = "Hans Hagen", copyright = "ConTeXt development team", + mathematics = { + parameters = { + -- StackBottomDisplayStyleShiftDown = 0, + -- StackBottomShiftDown = 0, + -- StackDisplayStyleGapMin = 0, + -- StackGapMin = 0, + -- StackTopDisplayStyleShiftUp = 0, + -- StackTopShiftUp = 0, + -- StretchStackBottomShiftDown = 0, + -- StretchStackGapAboveMin = 0, + -- StretchStackGapBelowMin = 0, + -- StretchStackTopShiftUp = 0, + StackBottomDisplayStyleShiftDown = less, + StackBottomShiftDown = less, + StackDisplayStyleGapMin = less, + StackGapMin = less, + StackTopDisplayStyleShiftUp = less, + StackTopShiftUp = less, + StretchStackBottomShiftDown = less, + StretchStackGapAboveMin = less, + StretchStackGapBelowMin = less, + StretchStackTopShiftUp = less, + } + } } + |