summaryrefslogtreecommitdiff
path: root/tex/context/fonts/mkiv/erewhon-math.lfg
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/fonts/mkiv/erewhon-math.lfg')
-rw-r--r--tex/context/fonts/mkiv/erewhon-math.lfg44
1 files changed, 36 insertions, 8 deletions
diff --git a/tex/context/fonts/mkiv/erewhon-math.lfg b/tex/context/fonts/mkiv/erewhon-math.lfg
index e366ee12e..89b788b3f 100644
--- a/tex/context/fonts/mkiv/erewhon-math.lfg
+++ b/tex/context/fonts/mkiv/erewhon-math.lfg
@@ -12,13 +12,13 @@ return {
copyright = "ConTeXt development team",
mathematics = {
parameters = {
- NoLimitSupFactor = 0,
- NoLimitSubFactor = 900,
- AccentBaseHeight = 0,
+ -- NoLimitSupFactor = 0,
+ -- NoLimitSubFactor = 900,
+ -- AccentBaseHeight = 0,
AccentBaseDepth = 60,
- RadicalDegreeBottomRaisePercent = 55,
- RadicalKernAfterDegree = -600,
- RadicalRuleThickness = 45, -- 55 in font
+ -- RadicalDegreeBottomRaisePercent = 55,
+ -- RadicalKernAfterDegree = -600,
+ -- RadicalRuleThickness = 45, -- 55 in font
DelimiterPercent = 90,
DelimiterShortfall = 400,
-- DisplayOperatorMinHeight = 1800, -- 1300 in font (one size)
@@ -27,12 +27,23 @@ return {
aftercopying = {
{
tweak = "fixprimes",
+ -- smaller = true, -- replace multiples
factor = 0.9,
- scale = 0.9,
+ scale = 1.0,
+ fake = 0.85, -- replace multiples with this width proportion
},
{
tweak = "addmirrors",
},
+{
+ tweak = "dimensions",
+ list = {
+ ["0x222B.variants.*"] = { axis = .15 },
+ },
+},
+{
+ tweak = "fixintegrals",
+},
presets.scripttocalligraphic { },
presets.rsfstoscript { },
presets.rsfsuprighttoscript { },
@@ -63,6 +74,23 @@ return {
["0x27EB.variants.*"] = { topright = -0.2, bottomright = -0.2 },
},
},
+{
+ tweak = "radicaldegreeanchors",
+ list = {
+ -- [0x221A] = { location = "left", hfactor = .1, vfactor = .3 },
+ -- ["0x221A.variants.*"] = { location = "left", hfactor = .1, vfactor = .625 },
+ -- ["0x221A.variants.1"] = { location = "left", hfactor = .1, vfactor = .575 },
+ -- ["0x221A.variants.2"] = { location = "left", hfactor = .1, vfactor = .575 },
+ -- ["0x221A.variants.3"] = { location = "left", hfactor = .1, vfactor = .55 },
+ -- ["0x221A.variants.4"] = { location = "left", hfactor = .1, vfactor = .55 },
+ -- ["0x221A.variants.5"] = { location = "left", hfactor = .1, vfactor = .55 },
+ -- ["0x221A.variants.5"] = { location = "left", hfactor = .1, vfactor = .55 },
+ -- ["0x221Aq.variants.6"] = { location = "left", hfactor = .1, vfactor = .55 },
+ -- ["0x221A.parts.top"] = { location = "left", hfactor = .1, vfactor = 5.5 }, -- keep commented: bottom wins over top
+ ["0x221A.parts.bottom"] = { location = "left", hfactor = .1, vfactor = 1.025 },
+ }
+},
+
{
tweak = "checkspacing",
},
@@ -83,7 +111,7 @@ return {
},
{
tweak = "setoptions",
- set = { "ignorekerndimensions" }
+-- set = { "ignorekerndimensions" }
},
-- this is the mkiv section
-- {