-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-plans.toml
202 lines (166 loc) · 4.24 KB
/
build-plans.toml
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
# Build options
[buildOptions]
optimizeWithTtx = false
# Building plans
# Sans
[buildPlans.iocursive-sans-type]
family = "IoCursive Sans Type"
[buildPlans.iocursive-sans-term]
family = "IoCursive Sans Term"
spacing = "term"
[buildPlans.iocursive-sans-fixed]
family = "IoCursive Sans Fixed"
spacing = "fixed"
# Slab
[buildPlans.iocursive-slab-type]
family = "IoCursive Slab Type"
serifs = "slab"
[buildPlans.iocursive-slab-term]
family = "IoCursive Slab Term"
serifs = "slab"
spacing = "term"
[buildPlans.iocursive-slab-fixed]
family = "IoCursive Slab Fixed"
serifs = "slab"
spacing = "fixed"
[buildPlans.iosevka-ss18]
family = "Iosevka SS18"
desc = "Input Mono Style"
snapshotFamily = 'iosevka'
snapshotFeature = '"ss18" on'
export-glyph-names = true
no-cv-ss = true
[buildPlans.iosevka-ss18.variants]
inherits = "ss18"
[buildPlans.iosevka-term-ss18]
family = "Iosevka Term SS18"
spacing = "term"
snapshotFamily = 'iosevka'
snapshotFeature = '"NWID" on, "ss18" on'
export-glyph-names = true
no-cv-ss = true
[buildPlans.iosevka-term-ss18.variants]
inherits = "ss18"
[buildPlans.iosevka-fixed-ss18]
family = "Iosevka Fixed SS18"
spacing = "fixed"
snapshotFamily = 'iosevka'
snapshotFeature = '"NWID" on, "ss18" on'
export-glyph-names = true
no-cv-ss = true
[buildPlans.iosevka-fixed-ss18.variants]
inherits = "ss18"
###################################################################################################
# Proportional families
[buildPlans.iocursive-slab]
family = "IoCursive Slab"
spacing = "quasi-proportional"
serifs = 'slab'
[buildPlans.iocursive-slab.variants.design]
at = 'fourfold'
capital-w = 'straight-flat-top'
f = "flat-hook-serifed"
j = 'flat-hook-serifed'
t = "flat-hook"
w = 'straight-flat-top'
[buildPlans.iocursive-slab.variants.italic]
f = "flat-hook-tailed"
# Letterform control for U+1D670 ... U+1D6A3
[buildPlans.iocursive-slab.derivingVariants.mathtt.design]
at = 'threefold'
capital-w = 'straight-flat-top'
f = "flat-hook-serifed"
j = 'flat-hook-serifed'
t = "flat-hook"
w = 'straight-flat-top'
[buildPlans.iocursive-slab.derivingVariants.mathtt.italic]
f = "flat-hook-tailed"
###################################################################################################
# Collect plans
[collectPlans.iocursive]
release = true
from = [
"iocursive-sans-type",
"iocursive-sans-term",
"iocursive-sans-fixed",
"iocursive-slab",
"iocursive-slab-type",
"iocursive-slab-term",
"iocursive-slab-fixed"
]
[collectConfig]
distinguishWeights = true
distinguishWidths = true
distinguishSlope = true
###################################################################################################
# Weight mappings (style => shape weight, menu weight, CSS weight)
# Shape weight : affects the shape of the glyphs
# Menu weight : affects the font menu name
# CSS weight : affects the webfont CSS "font-weight" property
# IMPORTANT : Currently "menu" property only support 100, 200, 300, 400, 500, 600, 700, 800, 900.
# and "shape" properly only supports number between 100 and 900 (inclusive).
[weights.thin]
shape = 100
menu = 100
css = 100
[weights.extralight]
shape = 200
menu = 200
css = 200
[weights.light]
shape = 300
menu = 300
css = 300
[weights.semilight]
shape = 350
menu = 350
css = 350
[weights.regular]
shape = 400
menu = 400
css = 400
[weights.book]
shape = 450
menu = 450
css = 450
[weights.medium]
shape = 500
menu = 500
css = 500
[weights.semibold]
shape = 600
menu = 600
css = 600
[weights.bold]
shape = 700
menu = 700
css = 700
[weights.extrabold]
shape = 800
menu = 800
css = 800
[weights.heavy]
shape = 900
menu = 900
css = 900
# slope mappings (style => CSS)
# NOTE: This mapping does NOT affect the font's metadata, only affects
# the webfont CSS. Change `params/parameters.toml` instead.
[slopes]
cursive = "normal"
italic = "italic"
# Width mappings (style => shape width, menu width, CSS stretch)
# Shape width : affects the shape of the glyphs
# Menu width : affects the font menu name
# CSS stretch : affects the webfont CSS "font-stretch" property
#
# IMPORTANT : Currently "shape" property only support 3 ... 9
# and "menu" only support 1 ... 9
[widths.normal]
shape = 500
menu = 5
css = "normal"
[widths.extended]
shape = 600
menu = 7
css = "expanded"