diff options
Diffstat (limited to 'tex/context/fonts')
-rw-r--r-- | tex/context/fonts/mkiv/asana-math.lfg | 11 | ||||
-rw-r--r-- | tex/context/fonts/mkiv/bonum-math.lfg | 11 | ||||
-rw-r--r-- | tex/context/fonts/mkiv/cambria-math.lfg | 14 | ||||
-rw-r--r-- | tex/context/fonts/mkiv/concrete-math.lfg | 11 | ||||
-rw-r--r-- | tex/context/fonts/mkiv/dejavu-math.lfg | 14 | ||||
-rw-r--r-- | tex/context/fonts/mkiv/erewhon-math.lfg | 11 | ||||
-rw-r--r-- | tex/context/fonts/mkiv/garamond-math.lfg | 11 | ||||
-rw-r--r-- | tex/context/fonts/mkiv/kpfonts-math.lfg | 11 | ||||
-rw-r--r-- | tex/context/fonts/mkiv/libertinus-math.lfg | 11 | ||||
-rw-r--r-- | tex/context/fonts/mkiv/lm.lfg | 11 | ||||
-rw-r--r-- | tex/context/fonts/mkiv/lucida-opentype-math.lfg | 32 | ||||
-rw-r--r-- | tex/context/fonts/mkiv/pagella-math.lfg | 14 | ||||
-rw-r--r-- | tex/context/fonts/mkiv/schola-math.lfg | 11 | ||||
-rw-r--r-- | tex/context/fonts/mkiv/stix-two-math.lfg | 11 | ||||
-rw-r--r-- | tex/context/fonts/mkiv/termes-math.lfg | 11 | ||||
-rw-r--r-- | tex/context/fonts/mkiv/type-imp-newcomputermodern.mkiv | 4 | ||||
-rw-r--r-- | tex/context/fonts/mkiv/xits-math.lfg | 11 |
17 files changed, 199 insertions, 11 deletions
diff --git a/tex/context/fonts/mkiv/asana-math.lfg b/tex/context/fonts/mkiv/asana-math.lfg index 0e8beb9e3..6177cb831 100644 --- a/tex/context/fonts/mkiv/asana-math.lfg +++ b/tex/context/fonts/mkiv/asana-math.lfg @@ -77,6 +77,17 @@ return { } }, -- { + -- tweak = "kerns", + -- list = { + -- [0x2F] = { + -- topleft = -0.2, + -- bottomleft = 0, + -- topright = 0, + -- bottomright = -0.2, + -- }, + -- }, + -- }, + -- { -- tweak = "fixprimes", -- factor = 0.85, -- scale = 0.65, diff --git a/tex/context/fonts/mkiv/bonum-math.lfg b/tex/context/fonts/mkiv/bonum-math.lfg index af1df417d..1e96c7a6b 100644 --- a/tex/context/fonts/mkiv/bonum-math.lfg +++ b/tex/context/fonts/mkiv/bonum-math.lfg @@ -152,6 +152,17 @@ return { }, }, { + tweak = "kerns", + list = { + [0x2F] = { + topleft = -0.15, + -- bottomleft = 0, + -- topright = 0, + bottomright = -0.15, + }, + }, + }, + { tweak = "fixprimes", -- scale = 0.8, -- smaller = true, diff --git a/tex/context/fonts/mkiv/cambria-math.lfg b/tex/context/fonts/mkiv/cambria-math.lfg index 4fe564cea..f73bc3ab7 100644 --- a/tex/context/fonts/mkiv/cambria-math.lfg +++ b/tex/context/fonts/mkiv/cambria-math.lfg @@ -94,6 +94,17 @@ return { }, }, { + tweak = "kerns", + list = { + [0x2F] = { + topleft = -0.2, + -- bottomleft = 0, + -- topright = 0, + bottomright = -0.2, + }, + }, + }, + { tweak = "fixprimes", scale = 0.9, -- smaller = true, @@ -122,6 +133,9 @@ return { { tweak = "addrules", }, + { + tweak = "wipecues", + }, }, }, bigslots = { diff --git a/tex/context/fonts/mkiv/concrete-math.lfg b/tex/context/fonts/mkiv/concrete-math.lfg index ecd910eb0..59ea0f2ea 100644 --- a/tex/context/fonts/mkiv/concrete-math.lfg +++ b/tex/context/fonts/mkiv/concrete-math.lfg @@ -17,6 +17,17 @@ return { -- tweak = "fixprimes", -- factor = 0.9, -- }, + { + tweak = "kerns", + list = { + [0x2F] = { + topleft = -0.2, + -- bottomleft = 0, + -- topright = 0, + bottomright = -0.2, + }, + }, + }, }, }, bigslots = { diff --git a/tex/context/fonts/mkiv/dejavu-math.lfg b/tex/context/fonts/mkiv/dejavu-math.lfg index 3c262fab5..01eaefd80 100644 --- a/tex/context/fonts/mkiv/dejavu-math.lfg +++ b/tex/context/fonts/mkiv/dejavu-math.lfg @@ -38,6 +38,17 @@ return { } }, { + tweak = "kerns", + list = { + [0x2F] = { + topleft = -0.2, + -- bottomleft = 0, + -- topright = 0, + bottomright = -0.2, + }, + }, + }, + { tweak = "fixprimes", -- scale = 0.9, -- smaller = true, @@ -55,6 +66,9 @@ return { { tweak = "addrules", }, + { + tweak = "wipecues", + }, }, }, alternates = { diff --git a/tex/context/fonts/mkiv/erewhon-math.lfg b/tex/context/fonts/mkiv/erewhon-math.lfg index d5b576f76..0924f7f13 100644 --- a/tex/context/fonts/mkiv/erewhon-math.lfg +++ b/tex/context/fonts/mkiv/erewhon-math.lfg @@ -16,6 +16,17 @@ return { tweaks = { aftercopying = { { + tweak = "kerns", + list = { + [0x2F] = { + topleft = -0.15, + -- bottomleft = 0, + -- topright = 0, + bottomright = -0.15, + }, + }, + }, + { tweak = "fixprimes", factor = 0.9, scale = 0.9, diff --git a/tex/context/fonts/mkiv/garamond-math.lfg b/tex/context/fonts/mkiv/garamond-math.lfg index b002cc942..4c5eb5ba6 100644 --- a/tex/context/fonts/mkiv/garamond-math.lfg +++ b/tex/context/fonts/mkiv/garamond-math.lfg @@ -94,6 +94,17 @@ return { }, }, { + tweak = "kerns", + list = { + [0x2F] = { + topleft = -0.2, + -- bottomleft = 0, + -- topright = 0, + bottomright = -0.2, + }, + }, + }, + { tweak = "fixprimes", scale = 0.9, -- smaller = true, diff --git a/tex/context/fonts/mkiv/kpfonts-math.lfg b/tex/context/fonts/mkiv/kpfonts-math.lfg index 695a6af32..490b7b297 100644 --- a/tex/context/fonts/mkiv/kpfonts-math.lfg +++ b/tex/context/fonts/mkiv/kpfonts-math.lfg @@ -23,6 +23,17 @@ return { -- whatever }, }, + { + tweak = "kerns", + list = { + [0x2F] = { + topleft = -0.2, + -- bottomleft = 0, + -- topright = 0, + bottomright = -0.2, + }, + }, + }, -- { -- tweak = "fixprimes", -- factor = 0.85, -- accent base height diff --git a/tex/context/fonts/mkiv/libertinus-math.lfg b/tex/context/fonts/mkiv/libertinus-math.lfg index 3930ce8e2..2d683cc3c 100644 --- a/tex/context/fonts/mkiv/libertinus-math.lfg +++ b/tex/context/fonts/mkiv/libertinus-math.lfg @@ -61,6 +61,17 @@ return { }, }, { + tweak = "kerns", + list = { + [0x2F] = { + topleft = -0.15, + -- bottomleft = 0, + -- topright = 0, + bottomright = -0.15, + }, + }, + }, + { tweak = "fixprimes", scale = 0.9, -- smaller = true, diff --git a/tex/context/fonts/mkiv/lm.lfg b/tex/context/fonts/mkiv/lm.lfg index 58db0e3a4..44ea14571 100644 --- a/tex/context/fonts/mkiv/lm.lfg +++ b/tex/context/fonts/mkiv/lm.lfg @@ -90,6 +90,17 @@ return { }, }, { + tweak = "kerns", + list = { + [0x2F] = { + topleft = -0.2, + -- bottomleft = 0, + -- topright = 0, + bottomright = -0.2, + }, + }, + }, + { tweak = "fixprimes", factor = 1.05, -- smaller = true, diff --git a/tex/context/fonts/mkiv/lucida-opentype-math.lfg b/tex/context/fonts/mkiv/lucida-opentype-math.lfg index 6dc6eef2a..72f4ca9e6 100644 --- a/tex/context/fonts/mkiv/lucida-opentype-math.lfg +++ b/tex/context/fonts/mkiv/lucida-opentype-math.lfg @@ -37,7 +37,7 @@ return { NoLimitSupFactor = 0, NoLimitSubFactor = 900, FractionRuleThickness = 55, - -- AccentBaseHeight = 650, + -- AccentBaseHeight = 650, AccentBaseDepth = 150, }, tweaks = { @@ -46,13 +46,13 @@ return { tweak = "version", expected = "Version 1.802", }, - { - tweak = "substitutes", - list = { - [0x2264] = "ss03", - [0x2265] = "ss03", - } - }, + -- { + -- tweak = "substitutes", + -- list = { + -- [0x2264] = "ss03", + -- [0x2265] = "ss03", + -- } + -- }, -- \definefontfeature[mathlucida][copymathscripts=yes] -- \definefontfeature[mathlucida][copymathscripts=yes,ss04=yes] -- 0xFEOO should be chancery style, if present @@ -79,12 +79,28 @@ return { ["0x23DD.parts.1"] = { xoffset = -0.075, depth = .8, yoffset = 0.2 }, ["0x23DD.parts.2"] = { depth = .8, yoffset = 0.2 }, ["0x23DD.parts.3"] = { xoffset = 0.075, depth = .8, yoffset = 0.2 }, + -- The < and > are slightly too small. We scale them by 867/795 + ["0x003C"] = { scale = 1.09057, width = 1.09057, height = 1.09057}, + ["0x003E"] = { scale = 1.09057, width = 1.09057, height = 1.09057}, + -- The = is too big if in ss03. We scale it by 795/867 (not working like this) + -- ["0x003D.ss03"] = { scale = 0.916955, width = 0.916955, height = 0.916955}, -- these are done later using the AccentBase* parameters -- [0x23DC] = { height = .2, yoffset = -0.8 }, -- [0x23DD] = { depth = .6, yoffset = 0.4 }, }, }, { + tweak = "kerns", + list = { + [0x2F] = { + topleft = -0.2, + -- bottomleft = 0, + -- topright = 0, + bottomright = -0.2, + }, + }, + }, + { tweak = "fixprimes", factor = 0.8, -- accent base height -- smaller = true, -- replace multiples diff --git a/tex/context/fonts/mkiv/pagella-math.lfg b/tex/context/fonts/mkiv/pagella-math.lfg index db2f30a0a..d1e77e9bf 100644 --- a/tex/context/fonts/mkiv/pagella-math.lfg +++ b/tex/context/fonts/mkiv/pagella-math.lfg @@ -111,7 +111,19 @@ return { [0x1D712] = { 0.1, 1.2, 0.1 }, -- \chi [0x1D713] = { -0.05, 0.95, 0.1 }, -- \psi [0x1D71D] = { 0, 1, 0, 0.7 }, -- \varpi - }, + }, + }, + { + tweak = "kerns", + list = { + -- ["*:0x2F"] = { + [0x2F] = { + topleft = -0.2, + -- bottomleft = 0, + -- topright = 0, + bottomright = -0.2, + }, + }, }, { tweak = "fixprimes", diff --git a/tex/context/fonts/mkiv/schola-math.lfg b/tex/context/fonts/mkiv/schola-math.lfg index 33efb6892..cea6b501c 100644 --- a/tex/context/fonts/mkiv/schola-math.lfg +++ b/tex/context/fonts/mkiv/schola-math.lfg @@ -36,6 +36,17 @@ return { } }, { + tweak = "kerns", + list = { + [0x2F] = { + topleft = -0.2, + -- bottomleft = 0, + -- topright = 0, + bottomright = -0.2, + }, + }, + }, + { tweak = "fixprimes", scale = 0.85, -- smaller = true, diff --git a/tex/context/fonts/mkiv/stix-two-math.lfg b/tex/context/fonts/mkiv/stix-two-math.lfg index 6943e86ad..351c6a8ee 100644 --- a/tex/context/fonts/mkiv/stix-two-math.lfg +++ b/tex/context/fonts/mkiv/stix-two-math.lfg @@ -32,6 +32,17 @@ return { tweak = "version", expected = "Version 2.12 b168", }, + { + tweak = "kerns", + list = { + [0x2F] = { + topleft = -0.2, + -- bottomleft = 0, + -- topright = 0, + bottomright = -0.2, + }, + }, + }, -- 0xFEOO should be chancery style, if present { tweak = "variants", diff --git a/tex/context/fonts/mkiv/termes-math.lfg b/tex/context/fonts/mkiv/termes-math.lfg index 2ad93c30b..45eaa0505 100644 --- a/tex/context/fonts/mkiv/termes-math.lfg +++ b/tex/context/fonts/mkiv/termes-math.lfg @@ -57,6 +57,17 @@ return { }, }, { + tweak = "kerns", + list = { + [0x2F] = { + topleft = -0.2, + -- bottomleft = 0, + -- topright = 0, + bottomright = -0.2, + }, + }, + }, + { tweak = "fixprimes", scale = 0.85, -- smaller = true, diff --git a/tex/context/fonts/mkiv/type-imp-newcomputermodern.mkiv b/tex/context/fonts/mkiv/type-imp-newcomputermodern.mkiv index 00b9cb964..1c9788a98 100644 --- a/tex/context/fonts/mkiv/type-imp-newcomputermodern.mkiv +++ b/tex/context/fonts/mkiv/type-imp-newcomputermodern.mkiv @@ -49,8 +49,8 @@ \starttypescript [\s!math][newcomputermodern] [\s!name] % \loadfontgoodies[newcomputermodern-math] ,\s!goodies=newcomputermodern-math - \definefontsynonym[\s!MathRoman] [\s!file:newcmmath-regular][\s!features={\s!math\mathsizesuffix,mathextra},\s!goodies=newcomputermodern-math] - \definefontsynonym[\s!MathRomanBold][\s!file:newcmmath-regular][\s!features={\s!math\mathsizesuffix,newcomputermodern-math-bold,mathextra}\s!goodies=newcomputermodern-math] + \definefontsynonym[\s!MathRoman] [\s!file:newcmmath-regular][\s!features={\s!math\mathsizesuffix,mathextra},\s!goodies=lm] + \definefontsynonym[\s!MathRomanBold][\s!file:newcmmath-regular][\s!features={\s!math\mathsizesuffix,newcomputermodern-math-bold,mathextra}\s!goodies=lm] \stoptypescript \starttypescript [\s!serif] [newcomputermodern-book] [\s!name] diff --git a/tex/context/fonts/mkiv/xits-math.lfg b/tex/context/fonts/mkiv/xits-math.lfg index 6c4ac8b66..dfb0e54bb 100644 --- a/tex/context/fonts/mkiv/xits-math.lfg +++ b/tex/context/fonts/mkiv/xits-math.lfg @@ -21,6 +21,17 @@ return { tweak = "version", expected = "Version 1.302", }, + { + tweak = "kerns", + list = { + [0x2F] = { + topleft = -0.1, + -- bottomleft = 0, + -- topright = 0, + bottomright = -0.1, + }, + }, + }, -- 0xFEOO should be chancery style, if present { tweak = "variants", |