summaryrefslogtreecommitdiff
path: root/tex/context/fonts/mkiv/asana-math.lfg
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/fonts/mkiv/asana-math.lfg')
-rw-r--r--tex/context/fonts/mkiv/asana-math.lfg15
1 files changed, 13 insertions, 2 deletions
diff --git a/tex/context/fonts/mkiv/asana-math.lfg b/tex/context/fonts/mkiv/asana-math.lfg
index 934f9e0f0..379dd014f 100644
--- a/tex/context/fonts/mkiv/asana-math.lfg
+++ b/tex/context/fonts/mkiv/asana-math.lfg
@@ -30,6 +30,8 @@
-- local integral_top = { topright = 0.05 }
-- local integral_bottom = { bottomright = -0.25 }
+local common = fonts.goodies.load("common-math.lfg")
+local presets = common.mathematics.tweaks.presets
return {
name = "asana-math",
@@ -49,7 +51,7 @@ return {
-- StretchStackGapAboveMin = less,
-- StretchStackGapBelowMin = less,
-- StretchStackTopShiftUp = less,
- NoLimitSupFactor = -200,
+ NoLimitSupFactor = 200,
NoLimitSubFactor = 1200,
AccentBaseDepth = 300,
RadicalDegreeBottomRaisePercent = 70,
@@ -66,6 +68,12 @@ return {
message = "this font is not supported",
},
{
+ tweak = "addmirrors",
+ },
+ presets.matheulercalligraphic { rscale = 1 },
+ presets.mathrsfscript { rscale = 1 },
+ presets.mathxitsarabic { rscale = 0.95 },
+ {
tweak = "dimensions",
list = {
-- nothing yet
@@ -103,7 +111,10 @@ return {
{
tweak = "fixellipses",
},
-
+ {
+ tweak = "setoptions",
+ set = { "ignorekerndimensions" }
+ },
},
},
bigslots = {