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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
local dimensions = {
[0x1D453] = { .40, 1.60, .5 }, -- offset width italic
-- [0x1D453] = { .0, 2, 0 }, -- offset width italic
}
return {
name = "pagella-math",
version = "1.00",
comment = "Goodies that complement pagella.",
author = "Hans Hagen",
copyright = "ConTeXt development team",
mathematics = {
tweaks = {
aftercopying = {
{ "version", "Version 1.632" },
-- { "action", function(target,original) mathematics.tweaks.fixdimensions(target, original, fixes) },
-- { "action", mathematics.tweaks.fixdimensions, fixes },
{ "dimensions", dimensions },
},
},
alternates = {
dotless = { feature = 'dtls', value = 1, comment = "Mathematical Dotless Forms" },
},
},
}
-- local kern_V = { bottomright = { { kern = -200 } } }
-- local kern_W = { bottomright = { { kern = -100 } } }
-- ----- kern_f = { bottomright = { { kern = -100 } } }
-- -- local offset_f = { xoffset = "llx" }
--
-- -- Beware of updates in ssty slots!
--
-- return {
-- name = "pagella-math",
-- version = "1.00",
-- comment = "Goodies that complement pagella.",
-- author = "Hans Hagen",
-- copyright = "ConTeXt development team",
-- mathematics = {
-- dimensions = {
-- default = {
-- -- [0x1D453] = { xoffset = 162, width = 278 + 162 },-- 𝑓
-- -- [0x1D453] = offset_f, -- 𝑓
-- -- ["1:0x1D453"] = offset_f, -- needed for compact
-- -- ["2:0x1D453"] = offset_f, -- needed for compact
-- -- ["*:0x1D453"] = offset_f, -- 𝑓
-- },
-- },
-- 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
-- -- ["*:0x1D453"] = kern_f,
-- ["*:0x1D449"] = kern_V, -- 𝑉
-- ["*:0x1D44A"] = kern_W, -- 𝑊
-- },
-- alternates = {
-- dotless = { feature = 'dtls', value = 1, comment = "Mathematical Dotless Forms" },
-- },
-- },
-- }
|