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.lfg80
1 files changed, 27 insertions, 53 deletions
diff --git a/tex/context/fonts/mkiv/erewhon-math.lfg b/tex/context/fonts/mkiv/erewhon-math.lfg
index 0cb72d149..54cc687fa 100644
--- a/tex/context/fonts/mkiv/erewhon-math.lfg
+++ b/tex/context/fonts/mkiv/erewhon-math.lfg
@@ -12,43 +12,35 @@ return {
copyright = "ConTeXt development team",
mathematics = {
parameters = {
- -- NoLimitSupFactor = 0,
- -- NoLimitSubFactor = 900,
- -- AccentBaseHeight = 0,
- AccentBaseDepth = 60,
- -- RadicalDegreeBottomRaisePercent = 55,
- -- RadicalKernAfterDegree = -600,
- -- RadicalRuleThickness = 45, -- 55 in font
- DelimiterPercent = 90,
- DelimiterShortfall = 400,
- -- DisplayOperatorMinHeight = 1800, -- 1300 in font (one size)
- SubscriptShiftDown = 200, -- 220 in font
- SuperscriptShiftUp = 400, -- 400 in font
+ AccentBaseDepth = 60,
+ DelimiterPercent = 90,
+ DelimiterShortfall = 400,
+ SubscriptShiftDown = 200, -- 220 in font
+ SuperscriptShiftUp = 400, -- 400 in font
SubscriptShiftDownWithSuperscript = "1.2*SubscriptShiftDown", -- unclear original value, trial and error
- PrimeShiftUp = "1.1*SuperscriptShiftUp",
- PrimeShiftUpCramped = "1.1*SuperscriptShiftUp",
+ PrimeShiftUp = "1.1*SuperscriptShiftUp",
+ PrimeShiftUpCramped = "1.1*SuperscriptShiftUp",
+ PrimeBaselineDropMax = "0.5*SuperscriptBaselineDropMax",
},
tweaks = {
aftercopying = {
{
- tweak = "fixprimes",
- -- smaller = true, -- replace multiples
- factor = 0.94 ,
- -- scale = 1.0,
- fake = 0.85, -- replace multiples with this width proportion
+ tweak = "fixprimes",
+ factor = 0.94 ,
+ fake = 0.85, -- replace multiples with this width proportion
},
{
tweak = "addmirrors",
},
-{
- tweak = "dimensions",
- list = {
- ["0x222B.variants.*"] = { axis = .15 },
- },
-},
-{
- tweak = "fixintegrals",
-},
+ {
+ tweak = "dimensions",
+ list = {
+ ["0x222B.variants.*"] = { axis = .15 },
+ },
+ },
+ {
+ tweak = "fixintegrals",
+ },
presets.scripttocalligraphic { },
presets.rsfstoscript { },
presets.rsfsuprighttoscript { },
@@ -77,26 +69,15 @@ return {
["0x27E9.variants.*"] = { topright = -0.2, bottomright = -0.2 },
[0x27EB] = { topright = -0.1, bottomright = -0.1 },
["0x27EB.variants.*"] = { topright = -0.2, bottomright = -0.2 },
- [0x00393] = { bottomright = -0.30, }, -- upright Gamma
+ [0x00393] = { bottomright = -0.3 }, -- upright Gamma
},
},
-{
- 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 = "radicaldegreeanchors",
+ list = {
+ ["0x221A.parts.bottom"] = { location = "left", hfactor = .1, vfactor = 1.025 },
+ }
+ },
{
tweak = "checkspacing",
},
@@ -124,14 +105,7 @@ return {
},
{
tweak = "setoptions",
--- set = { "ignorekerndimensions" }
},
- -- this is the mkiv section
--- {
--- tweak = "emulatelmtx",
--- feature = "emulatelmtx",
--- comment = "this is for mkiv",
--- },
},
},
bigslots = {