summaryrefslogtreecommitdiff
path: root/res/fontpack.ini
diff options
context:
space:
mode:
Diffstat (limited to 'res/fontpack.ini')
-rw-r--r--res/fontpack.ini71
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]
21name = "Source Sans"
22regular = "fonts/SourceSans3-Regular.ttf"
23italic = "fonts/SourceSans3-It.ttf"
24light = "fonts/SourceSans3-ExtraLight.ttf"
25semibold = "fonts/SourceSans3-Semibold.ttf"
26bold = "fonts/SourceSans3-Bold.ttf"
27
28[iosevka]
29name = "Iosevka (compact)"
30monospace = true
31doc.height = 0.800
32regular = "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.
37name = "Iosevka"
38monospace = true
39priority = -10
40glyphscale = 0.800
41regular = "fonts/IosevkaTerm-Extended.ttf"
42
43[smolemoji]
44name = "Smol Emoji"
45override = true # These Emoji/symbols are always preferred.
46auxiliary = true
47priority = 100
48regular = "fonts/SmolEmoji-Regular.ttf"
49
50[notoemoji]
51name = "Noto Emoji"
52auxiliary = true
53priority = 30
54glyphscale = 1.1
55regular = "fonts/NotoEmoji-Regular.ttf"
56
57[notosymbols2]
58name = "Noto Sans Symbols 2"
59auxiliary = true
60priority = 20
61glyphscale = 1.45
62voffset = 0.5
63regular = "fonts/NotoSansSymbols2-Regular.ttf"
64
65[notosymbols]
66name = "Noto Sans Symbols"
67auxiliary = true
68priority = 10
69glyphscale = 2.0
70voffset = 1.2
71regular = "fonts/NotoSansSymbols-Regular.ttf"