summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-10-08 15:27:14 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-10-08 15:27:14 +0300
commit52b6013cc01e17f4b500ea79fb786ccc14b1f7ec (patch)
treed3f1a91a282cbb225d8578fabf18a2690205738d /res
parentdeea4951aa8e4068daccb15b7960aa84ebfe906f (diff)
Font configuration; Prefs has a string value array
Added a second version of Iosevka with more line spacing, to be used as the default monospace document font.
Diffstat (limited to 'res')
-rw-r--r--res/default.fontpack/fontpack.ini27
1 files changed, 20 insertions, 7 deletions
diff --git a/res/default.fontpack/fontpack.ini b/res/default.fontpack/fontpack.ini
index c86dfd59..68316ef6 100644
--- a/res/default.fontpack/fontpack.ini
+++ b/res/default.fontpack/fontpack.ini
@@ -11,11 +11,14 @@
11# monospace (bool) Monospace font; suitable for performatted text. 11# monospace (bool) Monospace font; suitable for performatted text.
12# override (bool) Check this first regardless of active font. 12# override (bool) Check this first regardless of active font.
13# priority (int) Lookup priority (largest checked first). 13# priority (int) Lookup priority (largest checked first).
14# scaling (float) Additional glyph scaling (1.0 = not scaled). 14# glyphscale (float) Additional glyph scaling (<= 1.0).
15# voffset (float) Vertical offset (normalized). 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.
16 19
17[default] 20[default]
18name = "Source Sans 3" 21name = "Source Sans"
19regular = "SourceSans3-Regular.ttf" 22regular = "SourceSans3-Regular.ttf"
20italic = "SourceSans3-It.ttf" 23italic = "SourceSans3-It.ttf"
21light = "SourceSans3-ExtraLight.ttf" 24light = "SourceSans3-ExtraLight.ttf"
@@ -23,13 +26,23 @@ semibold = "SourceSans3-Semibold.ttf"
23bold = "SourceSans3-Bold.ttf" 26bold = "SourceSans3-Bold.ttf"
24 27
25[iosevka] 28[iosevka]
26name = "Iosevka Term Extended" 29name = "Iosevka (compact)"
30monospace = true
31doc.height = 0.800
32regular = "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"
27monospace = true 38monospace = true
39priority = -10
40glyphscale = 0.800
28regular = "IosevkaTerm-Extended.ttf" 41regular = "IosevkaTerm-Extended.ttf"
29 42
30[smolemoji] 43[smolemoji]
31name = "Smol Emoji" 44name = "Smol Emoji"
32override = true # These Emoji are always preferred. 45override = true # These Emoji/symbols are always preferred.
33auxiliary = true 46auxiliary = true
34priority = 100 47priority = 100
35regular = "SmolEmoji-Regular.ttf" 48regular = "SmolEmoji-Regular.ttf"
@@ -38,14 +51,14 @@ regular = "SmolEmoji-Regular.ttf"
38name = "Noto Emoji" 51name = "Noto Emoji"
39auxiliary = true 52auxiliary = true
40priority = 30 53priority = 30
41scaling = 1.1 54glyphscale = 1.1
42regular = "NotoEmoji-Regular.ttf" 55regular = "NotoEmoji-Regular.ttf"
43 56
44[notosymbols2] 57[notosymbols2]
45name = "Noto Sans Symbols 2" 58name = "Noto Sans Symbols 2"
46auxiliary = true 59auxiliary = true
47priority = 20 60priority = 20
48scaling = 1.45 61glyphscale = 1.45
49voffset = 0.5 62voffset = 0.5
50regular = "NotoSansSymbols2-Regular.ttf" 63regular = "NotoSansSymbols2-Regular.ttf"
51 64
@@ -53,6 +66,6 @@ regular = "NotoSansSymbols2-Regular.ttf"
53name = "Noto Sans Symbols" 66name = "Noto Sans Symbols"
54auxiliary = true 67auxiliary = true
55priority = 10 68priority = 10
56scaling = 2.0 69glyphscale = 2.0
57voffset = 1.2 70voffset = 1.2
58regular = "NotoSansSymbols-Regular.ttf" 71regular = "NotoSansSymbols-Regular.ttf"