summaryrefslogtreecommitdiff
path: root/tex/context/fonts/mkiv/schola-math.lfg
blob: b60bc6d99f940a51d2a8bddde3caf3616a4b0e0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
local kern_V = { bottomright = { { kern = -200 } }, topright = { { kern = 50 } } }
local kern_W = { bottomright = { { kern = -100 } }, topright = { { kern = 50 } } }

-- Beware of updates in ssty slots!

return {
    name = "schola-math",
    version = "1.00",
    comment = "Goodies that complement schola.",
    author = "Hans Hagen",
    copyright = "ConTeXt development team",
    mathematics = {
        kerns = {
         -- [0x1D449]     = kern_V, -- 𝑉
         -- ["1:0x1D449"] = kern_V, -- needed for compact
         -- ["2:0x1D449"] = kern_V, -- needed for compact
         -- [0x1D44A]     = kern_W, -- 𝑊
         -- ["1:0x1D44A"] = kern_W, -- needed for compact
         -- ["2:0x1D44A"] = kern_W, -- needed for compact
            ["*:0x1D449"] = kern_V, -- 𝑉
            ["*:0x1D44A"] = kern_W, -- 𝑊
        },
        alternates = {
            dotless = { feature = 'dtls', value = 1, comment = "Mathematical Dotless Forms" },
        },
    },
}