diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-10-08 15:27:14 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-10-08 15:27:14 +0300 |
commit | 52b6013cc01e17f4b500ea79fb786ccc14b1f7ec (patch) | |
tree | d3f1a91a282cbb225d8578fabf18a2690205738d /res | |
parent | deea4951aa8e4068daccb15b7960aa84ebfe906f (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.ini | 27 |
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] |
18 | name = "Source Sans 3" | 21 | name = "Source Sans" |
19 | regular = "SourceSans3-Regular.ttf" | 22 | regular = "SourceSans3-Regular.ttf" |
20 | italic = "SourceSans3-It.ttf" | 23 | italic = "SourceSans3-It.ttf" |
21 | light = "SourceSans3-ExtraLight.ttf" | 24 | light = "SourceSans3-ExtraLight.ttf" |
@@ -23,13 +26,23 @@ semibold = "SourceSans3-Semibold.ttf" | |||
23 | bold = "SourceSans3-Bold.ttf" | 26 | bold = "SourceSans3-Bold.ttf" |
24 | 27 | ||
25 | [iosevka] | 28 | [iosevka] |
26 | name = "Iosevka Term Extended" | 29 | name = "Iosevka (compact)" |
30 | monospace = true | ||
31 | doc.height = 0.800 | ||
32 | regular = "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" | ||
27 | monospace = true | 38 | monospace = true |
39 | priority = -10 | ||
40 | glyphscale = 0.800 | ||
28 | regular = "IosevkaTerm-Extended.ttf" | 41 | regular = "IosevkaTerm-Extended.ttf" |
29 | 42 | ||
30 | [smolemoji] | 43 | [smolemoji] |
31 | name = "Smol Emoji" | 44 | name = "Smol Emoji" |
32 | override = true # These Emoji are always preferred. | 45 | override = true # These Emoji/symbols are always preferred. |
33 | auxiliary = true | 46 | auxiliary = true |
34 | priority = 100 | 47 | priority = 100 |
35 | regular = "SmolEmoji-Regular.ttf" | 48 | regular = "SmolEmoji-Regular.ttf" |
@@ -38,14 +51,14 @@ regular = "SmolEmoji-Regular.ttf" | |||
38 | name = "Noto Emoji" | 51 | name = "Noto Emoji" |
39 | auxiliary = true | 52 | auxiliary = true |
40 | priority = 30 | 53 | priority = 30 |
41 | scaling = 1.1 | 54 | glyphscale = 1.1 |
42 | regular = "NotoEmoji-Regular.ttf" | 55 | regular = "NotoEmoji-Regular.ttf" |
43 | 56 | ||
44 | [notosymbols2] | 57 | [notosymbols2] |
45 | name = "Noto Sans Symbols 2" | 58 | name = "Noto Sans Symbols 2" |
46 | auxiliary = true | 59 | auxiliary = true |
47 | priority = 20 | 60 | priority = 20 |
48 | scaling = 1.45 | 61 | glyphscale = 1.45 |
49 | voffset = 0.5 | 62 | voffset = 0.5 |
50 | regular = "NotoSansSymbols2-Regular.ttf" | 63 | regular = "NotoSansSymbols2-Regular.ttf" |
51 | 64 | ||
@@ -53,6 +66,6 @@ regular = "NotoSansSymbols2-Regular.ttf" | |||
53 | name = "Noto Sans Symbols" | 66 | name = "Noto Sans Symbols" |
54 | auxiliary = true | 67 | auxiliary = true |
55 | priority = 10 | 68 | priority = 10 |
56 | scaling = 2.0 | 69 | glyphscale = 2.0 |
57 | voffset = 1.2 | 70 | voffset = 1.2 |
58 | regular = "NotoSansSymbols-Regular.ttf" | 71 | regular = "NotoSansSymbols-Regular.ttf" |