diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-11-14 23:18:10 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-11-14 23:18:10 +0100 |
commit | 08473f11287cb263079c0435068312cbc6d736e8 (patch) | |
tree | 2548fb8b58e18a507e54fa8426a79c6956c3ef2e /tex/context/fonts/mkiv/erewhon-math.lfg | |
parent | dd0a80e5ec42f60832e7d5dc47210e6f3545c400 (diff) | |
download | context-08473f11287cb263079c0435068312cbc6d736e8.tar.gz |
2022-11-14 22:56:00
Diffstat (limited to 'tex/context/fonts/mkiv/erewhon-math.lfg')
-rw-r--r-- | tex/context/fonts/mkiv/erewhon-math.lfg | 44 |
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 -- { |