-
Notifications
You must be signed in to change notification settings - Fork 1
/
parameters.toml
560 lines (496 loc) · 11.5 KB
/
parameters.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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
[iosevka]
copyright = 'Copyright (c) 2015-2019 Belleve Invis.'
licence = '''This font software is licenced under the SIL Open Font Licence, Version 1.1. This is licence is avaliable with a FAQ at: http://scripts.sil.org/OFL. This font software is distributes on an 'AS IS' basis, without warranties or conditions of any kind, either express or implied. See the SIL Open Font licence fot the specific language, premissions and limitations governing your use of this font software.'''
manufacturer = 'Belleve Invis'
designer = 'Belleve Invis'
description = 'Spatial efficient monospace font family for programming. Built from code. http://be5invis.github.io/Iosevka'
leading = 1250 # Default line height times 1000.
descenderPad = 65 # Additional line height, added to descender.
width = 600 # Character width. Increase this if you think that Iosevka is too narrow.
cap = 735 # Cap height (as well as ascender).
xheight = 530 # X-height.
#descender = -205 # Depth of descender. Currently unused.
winMetricPad = 0 # Padding of Win metrics to avoid clipping. See #343
ideoMid = 365
symbolMid = 365 # Center of parens, maths, geometrics...
parenSize = 1066 # Size of parens, brackets, braces, slashes, etc.
operSize = 852 # Size of "taller" mathematical operators (cups, etc.)
tackSize = 800 # Size of logical operators (tacks, etc.)
contrast = 1.11111 # Stroke width contrast.
essx = 1.12 # Contrast of the middle of 'S'.
slantAngle = 0 # Slant angle, in degrees.
accent = 155 # Height of accent marks.
accentx = 200 # Width of accent marks.
overshoot = -8 # Vertical overshoot for arcs.
overshootx = -8 # Horizontal overshoot for arcs.
oxhook = -5 # Horizontal overshoot for hook tips.
fovershoot = -40 # Overshoot of the top end of italic `f`.
longjut = 175 # Length of long serifs, like that in `i`.
jut = 85 # Length of short serifs, used in Slab only.
vjut = 145 # Length of vertical serifs, used in Slab only.
smooth = 195 # Vertical arc size in capital letters.
smallsmooth = 220 # Vertical arc size in lowercase letters.
smoothadjust = 120 # Parameter to balance arcs in slanted shapes.
superness = 2.2 # Superness of arcs.
barpos = 0.525 # Position of the middle bar in most letters, like `E`.
overlaypos = 0.52 # Position of the overlay mark.
ebarpos = 0.50 # Position of the middle bar in `e`.
gbarpos = 0.42
pbarpos = 0.53
fivebarpos = 0.64
fbarpos = 0.91 # Position of the middle bar in `f`
fbarStrokeAdj = 0.25 # Portion of the fill above the f-bar position
hook = 155 # Hook depth in most letters.
ahook = 130
shook = 110
jhook = 135
fhook = 120
rhook = 90
hookx = 170
tbalance = 50
tbalance2 = 30
rbalance = 60
rbalance2 = 15
jbalance = 63
fbalance = 6
onebalance = 30
isItalic = false # Use italic shapes?
isOblique = false # Use oblique shapes?
lllcrowdedness = 3.33333333
spacing = 1 # Spacing indicator
# Powerline-specific parameters
powerlineScaleY = 1 # Vertical scale
powerlineScaleX = 1 # Horizontal scale
powerlineShiftY = 0 # Vertical shift
powerlineShiftX = 0 # Horizontal shift
# Full-width codes
fullwidth_codes = []
# Diversity widths
diversityM = 1
diversityF = 1
diversityI = 1
diversityII = 1
# Whether to generate CV-SS features
enableCvSs = true
# Whether to generate ligation
enableLigation = true
[verbose]
verbose = true
### Weights
[w-100]
stroke = 18
sb = 72
dotsize = 53
periodsize = 55
cthin = 0.9
cthinb = 0.9
vtipfine = 1
shoulderfine = 0.8
pbarpos = 0.5
[w-200]
stroke = 20
sb = 68
dotsize = 63
periodsize = 63
cthin = 0.75
cthinb = 0.75
vtipfine = 1
pbarpos = 0.5
[w-300]
stroke = 32
sb = 64
dotsize = 73
periodsize = 71
vtipfine = 0.9
pbarpos = 0.51
[w-400]
stroke = 44
sb = 64
dotsize = 83
periodsize = 79
[w-500]
stroke = 56
sb = 64
dotsize = 94
periodsize = 87
smooth = 200
[w-600]
stroke = 62
sb = 54
dotsize = 105
periodsize = 95
essx = 1.07
rbalance = 55
rbalance2 = 20
smooth = 203
[w-700]
stroke = 68
sb = 50
dotsize = 115
periodsize = 103
essx = 1.06
essxq = 1.10
jut = 89
vjut = 158
barpos = 0.51
fivebarpos = 0.64
rbalance = 52
rbalance2 = 23
rhook = 95
smooth = 206
[w-800]
stroke = 70
sb = 45
dotsize = 120
periodsize = 111
essx = 1.05
essxq = 1.15
jut = 96
vjut = 172
barpos = 0.51
fivebarpos = 0.64
rbalance = 50
rbalance2 = 25
rhook = 97
smooth = 210
[w-900]
stroke = 72
sb = 45
dotsize = 125
periodsize = 119
essx = 1.03
essxq = 1.15
jut = 100
vjut = 175
barpos = 0.51
fivebarpos = 0.64
rbalance = 50
rbalance2 = 25
rhook = 105
smooth = 215
### Slantness
[s-italic]
isItalic = true
slantAngle = 10
jhook = 120
[s-oblique]
isOblique = true
slantAngle = 10
jhook = 120
### Slab variant
[slab]
slab = true
onebalance = 10
overshootx = -16
[slab.multiplies]
sb = 1.1
### Spacings
[term]
spacing = 0
enableLigation = false
# Term variant with ligations
[termlig]
spacing = 0
[type]
inherits = ["xx-type"]
spacing = 2
[cc]
inherits = ["xx-cc"]
spacing = 3
###### Widths
# NOTE: this section is highly experimental
# HANDLE WITH EXTREME CARE
# Expanded : I heard someone want it being wider...
[wd-expanded.multiplies]
width = 1.152 # 576mem for normal char
sb = 1.375
[expanded]
inherits = ['wd-expanded']
# Compressed : And someone else want it being narrower
[wd-compressed.multiplies]
width = 0.9
sb = 0.9
[compressed]
inherits = ['wd-compressed']
# EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL
# Diversity: Having more width variations
[shape-straight-bar]
straightBar = 1
[diversity-1]
diversityM = 1.25
diversityF = 1.00
diversityI = 0.75
diversityII = 0.75
[diversity-2]
diversityM = 1.25
diversityF = 0.75
diversityI = 0.75
diversityII = 0.5
[no-ligation]
enableLigation = false
[nolig] # For compatibility
enableLigation = false
[no-cv-ss]
enableCvSs = false
###### Full-width codes
[xx-type]
spacing = 2
[xx-type.appends]
fullwidth_codes = [
8212, #—
8251, #※
# 8451, #℃
8719, #∏
8720,
8721, #∑
8733, #∝
8734, #∞
8736, #∠
8748, #∫∫
8749, #∫∫∫
8978, #⌒
8896,8897,8898,8899
]
[xx-cc]
inherits = ["xx-type"]
spacing = 3
[xx-cc.appends]
fullwidth_codes = [
164, #¤
177, #±
215, #×
247, #÷
711, #ˇ
713, #ˉ
167, #§
8741, #∥
8743, #∧
8744, #∨
8745, #∩
8746, #∪
8214, #‖
8242, #′
8243, #″
8747, #∫
8750, #∮
8764, #∽
8765, #∽
8776, #≈
8780, #≌
8800, #≠
8801, #≡
8804, #≤
8805, #≥
8814, #≮
8815, #≯
8866,
8867,
8868,
8869, #⊥
8816,8817,8834,8835,8836,8837,
8853, #⊕
8854,
8857, #⊙
8712, #∈
]
# Default ligation set configuration
[ligset-haskell]
defLigSet = "XHS0"
[ligset-idris]
defLigSet = "XIDR"
[ligset-elm]
defLigSet = "XELM"
[ligset-ml]
defLigSet = "XML0"
[ligset-fs]
defLigSet = "XFS0"
[ligset-fstar]
defLigSet = "XFST"
[ligset-swift]
defLigSet = "SWFT"
[ligset-purescript]
defLigSet = "PURS"
[ligset-coq]
defLigSet = "XV00"
[calt-clear]
customLigSet = []
[calt-center-ops.appends]
customLigSet = ['center-ops']
[calt-arrow.appends]
customLigSet = ["arrow"]
[calt-trig.appends]
customLigSet = ["trig"]
[calt-eqeq.appends]
customLigSet = ["eqeq"]
[calt-ineq.appends]
customLigSet = ["ineq"]
[calt-exeq.appends]
customLigSet = ["exeq"]
[calt-slasheq.appends]
customLigSet = ["slasheq"]
[calt-brst.appends]
customLigSet = ["brst"]
[calt-plusplus.appends]
customLigSet = ["plusplus"]
[calt-colons.appends]
customLigSet = ["colons"]
[calt-logic.appends]
customLigSet = ["logic"]
[calt-arrow2.appends]
customLigSet = ["arrow2"]
[calt-llgg.appends]
customLigSet = ["llgg"]
[calt-dotoper.appends]
customLigSet = ["dotoper"]
[calt-arrowZALE.appends]
customLigSet = ["arrowZALE"]
[calt-arrowZAGE.appends]
customLigSet = ["arrowZAGE"]
[calt-html-comment.appends]
customLigSet = ["html-comment"]
###### Leading
[leading-750]
leading = 750
[leading-1000]
leading = 1000
[leading-1250]
leading = 1250
[leading-1500]
leading = 1500
[leading-1750]
leading = 1750
[leading-2000]
leading = 2000
###### Win metric pad
[win-metric-pad-0]
winMetricPad = 0
[win-metric-pad-50]
winMetricPad = 50
[win-metric-pad-100]
winMetricPad = 100
[win-metric-pad-150]
winMetricPad = 150
[win-metric-pad-200]
winMetricPad = 200
[win-metric-pad-250]
winMetricPad = 250
[win-metric-pad-300]
winMetricPad = 300
###### Powerline
[powerline-scale-y-750]
powerlineScaleY = 0.75
[powerline-scale-y-875]
powerlineScaleY = 0.875
[powerline-scale-y-1000]
powerlineScaleY = 1
[powerline-scale-y-1125]
powerlineScaleY = 1.125
[powerline-scale-y-1250]
powerlineScaleY = 1.25
[powerline-scale-y-1375]
powerlineScaleY = 1.375
[powerline-scale-y-1500]
powerlineScaleY = 1.5
[powerline-scale-x-750]
powerlineScaleX = 0.75
[powerline-scale-x-875]
powerlineScaleX = 0.875
[powerline-scale-x-1000]
powerlineScaleX = 1
[powerline-scale-x-1125]
powerlineScaleX = 1.125
[powerline-scale-x-1250]
powerlineScaleX = 1.25
[powerline-scale-x-1375]
powerlineScaleX = 1.375
[powerline-scale-x-1500]
powerlineScaleX = 1.5
[powerline-shift-y-n500]
powerlineShiftY = -500
[powerline-shift-y-n450]
powerlineShiftY = -450
[powerline-shift-y-n400]
powerlineShiftY = -400
[powerline-shift-y-n350]
powerlineShiftY = -350
[powerline-shift-y-n300]
powerlineShiftY = -300
[powerline-shift-y-n250]
powerlineShiftY = -250
[powerline-shift-y-n200]
powerlineShiftY = -200
[powerline-shift-y-n150]
powerlineShiftY = -150
[powerline-shift-y-n100]
powerlineShiftY = -100
[powerline-shift-y-n50]
powerlineShiftY = -50
[powerline-shift-y-0]
powerlineShiftY = 0
[powerline-shift-y-p50]
powerlineShiftY = 50
[powerline-shift-y-p100]
powerlineShiftY = 100
[powerline-shift-y-p150]
powerlineShiftY = 150
[powerline-shift-y-p200]
powerlineShiftY = 200
[powerline-shift-y-p250]
powerlineShiftY = 250
[powerline-shift-y-p300]
powerlineShiftY = 300
[powerline-shift-y-p350]
powerlineShiftY = 350
[powerline-shift-y-p400]
powerlineShiftY = 400
[powerline-shift-y-p450]
powerlineShiftY = 450
[powerline-shift-y-p500]
powerlineShiftY = 500
[powerline-shift-x-n500]
powerlineShiftX = -500
[powerline-shift-x-n450]
powerlineShiftX = -450
[powerline-shift-x-n400]
powerlineShiftX = -400
[powerline-shift-x-n350]
powerlineShiftX = -350
[powerline-shift-x-n300]
powerlineShiftX = -300
[powerline-shift-x-n250]
powerlineShiftX = -250
[powerline-shift-x-n200]
powerlineShiftX = -200
[powerline-shift-x-n150]
powerlineShiftX = -150
[powerline-shift-x-n100]
powerlineShiftX = -100
[powerline-shift-x-n50]
powerlineShiftX = -50
[powerline-shift-x-0]
powerlineShiftX = 0
[powerline-shift-x-p50]
powerlineShiftX = 50
[powerline-shift-x-p100]
powerlineShiftX = 100
[powerline-shift-x-p150]
powerlineShiftX = 150
[powerline-shift-x-p200]
powerlineShiftX = 200
[powerline-shift-x-p250]
powerlineShiftX = 250
[powerline-shift-x-p300]
powerlineShiftX = 300
[powerline-shift-x-p350]
powerlineShiftX = 350
[powerline-shift-x-p400]
powerlineShiftX = 400
[powerline-shift-x-p450]
powerlineShiftX = 450
[powerline-shift-x-p500]
powerlineShiftX = 500
# Compatibility PUA ligature sample
# [[iosevka.compLig]]
# unicode = 57600 # 0xE100
# featureTag = 'XV00'
# sequence = '<*>'