kpfonts-text.lfg /size: 1833 b    last modification: 2025-02-21 11:03
1return {
2    name = "kpfonts-text",
3    version = "1.00",
4    comment = "Goodies that complement kpfonts.",
5    author = "Mikael Sundqvist & Hans Hagen",
6    copyright = "ConTeXt development team",
7    extensions = {
8        {
9            name   = "kern", -- adds to kerns
10            type   = "kern",
11            fonts  = {
12                "KpRoman-Light",
13                "KpRoman-Regular",
14                "KpRoman-Semibold",
15                "KpRoman-Bold",
16                "KpSans-Regular",
17                "KpSans-Bold",
18            },
19            data   = {
20                ["f"] = {
21                    [")"]  = 50,
22                    ["}"]  = 50,
23                    ["]"]  = 50,
24                    ["*"]  = 50,
25                },
26            }
27        },
28        {
29            name   = "kern", -- adds to kerns
30            type   = "kern",
31            fonts  = {
32                "KpRoman-LightItalic",
33                "KpRoman-Italic",
34                "KpRoman-SemiboldItalic",
35                "KpRoman-BoldItalic",
36                "KpSans-Italic",
37                "KpSans-BoldItalic",
38            },
39            data   = {
40                ["f"] = {
41                    [")"]  = 150,
42                    ["}"]  = 50,
43                    ["]"]  = 50,
44                    ["|"]  = 125,
45                    ["\\"] = 125,
46                    ["!"]  = 100,
47                    ["?"]  = 100,
48                    ["*"]  = 100,
49                    ["@"]  = 100,
50                },
51                ["("] = {
52                    ["f"]  = 100,
53                },
54                ["{"] = {
55                    ["f"]  = 100,
56                },
57                ["["] = {
58                    ["f"]  = 100,
59                },
60                ["|"] = {
61                    ["f"]  = 130,
62                },
63            }
64        },
65    }
66}
67