diff options
Diffstat (limited to 'res/fontpack.ini')
-rw-r--r-- | res/fontpack.ini | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/res/fontpack.ini b/res/fontpack.ini new file mode 100644 index 00000000..920a4ad2 --- /dev/null +++ b/res/fontpack.ini | |||
@@ -0,0 +1,71 @@ | |||
1 | # The core set of fonts. These are expected to be available at a minimum. | ||
2 | # | ||
3 | # Properties: | ||
4 | # name (string) Human-readable name of the font. | ||
5 | # regular (string) Font file for the Regular style (required!). | ||
6 | # italic (string) Font file for the Italic style (optional). | ||
7 | # light (string) Font file for the Light style (optional). | ||
8 | # semibold (string) Font file for the Semibold style (optional). | ||
9 | # bold (string) Font file for the Bold style (optional). | ||
10 | # auxiliary (bool) Not selectable as a content font (e.g., symbols). | ||
11 | # monospace (bool) Monospace font; suitable for performatted text. | ||
12 | # override (bool) Check this first regardless of active font. | ||
13 | # priority (int) Lookup priority (largest checked first). | ||
14 | # glyphscale (float) Additional glyph scaling (<= 1.0). | ||
15 | # voffset (float) Vertical offset (normalized). | ||
16 | # | ||
17 | # `glyphscale` and `voffset` can also be specified separately for the UI and | ||
18 | # document domains by prefixing `ui.` or `doc.` to the key. | ||
19 | |||
20 | [default] | ||
21 | name = "Source Sans" | ||
22 | regular = "fonts/SourceSans3-Regular.ttf" | ||
23 | italic = "fonts/SourceSans3-It.ttf" | ||
24 | light = "fonts/SourceSans3-ExtraLight.ttf" | ||
25 | semibold = "fonts/SourceSans3-Semibold.ttf" | ||
26 | bold = "fonts/SourceSans3-Bold.ttf" | ||
27 | |||
28 | [iosevka] | ||
29 | name = "Iosevka (compact)" | ||
30 | monospace = true | ||
31 | doc.height = 0.800 | ||
32 | regular = "fonts/IosevkaTerm-Extended.ttf" | ||
33 | |||
34 | [iosevka-body] | ||
35 | # Variant of Iosevka with expanded line spacing for better readability. | ||
36 | # Matches the baseline and ascent of the default font. | ||
37 | name = "Iosevka" | ||
38 | monospace = true | ||
39 | priority = -10 | ||
40 | glyphscale = 0.800 | ||
41 | regular = "fonts/IosevkaTerm-Extended.ttf" | ||
42 | |||
43 | [smolemoji] | ||
44 | name = "Smol Emoji" | ||
45 | override = true # These Emoji/symbols are always preferred. | ||
46 | auxiliary = true | ||
47 | priority = 100 | ||
48 | regular = "fonts/SmolEmoji-Regular.ttf" | ||
49 | |||
50 | [notoemoji] | ||
51 | name = "Noto Emoji" | ||
52 | auxiliary = true | ||
53 | priority = 30 | ||
54 | glyphscale = 1.1 | ||
55 | regular = "fonts/NotoEmoji-Regular.ttf" | ||
56 | |||
57 | [notosymbols2] | ||
58 | name = "Noto Sans Symbols 2" | ||
59 | auxiliary = true | ||
60 | priority = 20 | ||
61 | glyphscale = 1.45 | ||
62 | voffset = 0.5 | ||
63 | regular = "fonts/NotoSansSymbols2-Regular.ttf" | ||
64 | |||
65 | [notosymbols] | ||
66 | name = "Noto Sans Symbols" | ||
67 | auxiliary = true | ||
68 | priority = 10 | ||
69 | glyphscale = 2.0 | ||
70 | voffset = 1.2 | ||
71 | regular = "fonts/NotoSansSymbols-Regular.ttf" | ||