Skip to content

Commit 372319c

Browse files
committed
feat: add font OpenDyslexic
closes #190
1 parent 99532f9 commit 372319c

26 files changed

+418
-0
lines changed
+163
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
SplineFontDB: 3.2
2+
FontName: Whitespace
3+
FullName: Whitespace
4+
FamilyName: Whitespace
5+
Weight: Regular
6+
Copyright: Copyright (c) 2024, keybr.com
7+
UComments: "Created with FontForge (http://fontforge.org)"
8+
Version: 1.0
9+
ItalicAngle: 0
10+
UnderlinePosition: -266
11+
UnderlineWidth: 40
12+
Ascent: 1600
13+
Descent: 400
14+
InvalidEm: 0
15+
LayerCount: 2
16+
Layer: 0 0 "Back" 1
17+
Layer: 1 0 "Fore" 0
18+
XUID: [1021 148 372288191 4003857]
19+
FSType: 0
20+
OS2Version: 0
21+
OS2_WeightWidthSlopeOnly: 0
22+
OS2_UseTypoMetrics: 0
23+
CreationTime: 1712250907
24+
ModificationTime: 1713108542
25+
PfmFamily: 17
26+
TTFWeight: 400
27+
TTFWidth: 5
28+
LineGap: 0
29+
VLineGap: 0
30+
OS2TypoAscent: 1386
31+
OS2TypoAOffset: 0
32+
OS2TypoDescent: -330
33+
OS2TypoDOffset: 0
34+
OS2TypoLinegap: 98
35+
OS2WinAscent: 1660
36+
OS2WinAOffset: 0
37+
OS2WinDescent: 340
38+
OS2WinDOffset: 0
39+
HheadAscent: 1660
40+
HheadAOffset: 0
41+
HheadDescent: -340
42+
HheadDOffset: 0
43+
OS2CapHeight: 1386
44+
OS2XHeight: 1040
45+
OS2Vendor: 'PfEd'
46+
MarkAttachClasses: 1
47+
DEI: 91125
48+
LangName: 1033
49+
Encoding: UnicodeBmp
50+
UnicodeInterp: none
51+
NameList: AGL For New Fonts
52+
DisplaySize: -72
53+
AntiAlias: 1
54+
FitToEm: 0
55+
WinInfo: 120 12 5
56+
BeginPrivate: 0
57+
EndPrivate
58+
Grid
59+
0 700 m 25
60+
1000 700 l 1053
61+
0 600 m 25
62+
1000 600 l 1049
63+
0 500 m 25
64+
1000 500 l 1049
65+
0 100 m 25
66+
1000 100 l 1049
67+
0 200 m 25
68+
1000 200 l 1049
69+
0 300 m 25
70+
1000 300 l 1049
71+
0 400 m 25
72+
1000 400 l 1049
73+
0 1600 m 1
74+
1000 1600 l 1
75+
1000 0 l 1
76+
0 0 l 1
77+
0 1600 l 1
78+
EndSplineSet
79+
TeXData: 1 0 0 524288 262144 174762 0 1048576 174762 783286 444596 497025 792723 393216 433062 380633 303038 157286 324010 404750 52429 2506097 1059062 262144
80+
BeginChars: 65536 4
81+
82+
StartChar: uniE000
83+
Encoding: 57344 57344 0
84+
Width: 1000
85+
Flags: HW
86+
LayerCount: 2
87+
Fore
88+
SplineSet
89+
648 520 m 0
90+
648 480 634 444 608 414 c 128
91+
582 384 546 368 502 368 c 0
92+
456 368 420 384 394 414 c 128
93+
368 444 354 480 354 520 c 0
94+
354 562 368 598 394 628 c 128
95+
420 658 456 674 502 674 c 0
96+
546 674 582 658 608 628 c 128
97+
634 598 648 562 648 520 c 0
98+
EndSplineSet
99+
EndChar
100+
101+
StartChar: uniE001
102+
Encoding: 57345 57345 1
103+
Width: 1000
104+
Flags: HW
105+
LayerCount: 2
106+
Fore
107+
SplineSet
108+
160 0 m 1
109+
160 200 l 1
110+
280 200 l 1
111+
280 100 l 1
112+
720 100 l 1
113+
720 200 l 1
114+
840 200 l 1
115+
840 0 l 1
116+
160 0 l 1
117+
EndSplineSet
118+
EndChar
119+
120+
StartChar: uniE002
121+
Encoding: 57346 57346 2
122+
Width: 1000
123+
Flags: HW
124+
LayerCount: 2
125+
Fore
126+
SplineSet
127+
100 438 m 1
128+
100 558 l 1
129+
580 558 l 1
130+
580 658 l 1
131+
740 500 l 1
132+
580 338 l 1
133+
580 438 l 1
134+
100 438 l 1
135+
800 658 m 1
136+
900 658 l 1
137+
900 338 l 1
138+
800 338 l 1
139+
800 658 l 1
140+
EndSplineSet
141+
EndChar
142+
143+
StartChar: uniE003
144+
Encoding: 57347 57347 3
145+
Width: 1000
146+
Flags: HW
147+
LayerCount: 2
148+
Fore
149+
SplineSet
150+
800 568 m 1
151+
800 350 l 1
152+
320 350 l 1
153+
320 250 l 1
154+
160 400 l 1
155+
320 550 l 1
156+
320 450 l 1
157+
700 450 l 1
158+
700 568 l 1
159+
800 568 l 1
160+
EndSplineSet
161+
EndChar
162+
EndChars
163+
EndSplineFont
1.71 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

packages/keybr-fonts/generate.py

+20
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,26 @@ def main():
153153
"nunito",
154154
merge_file="Whitespace-em1000.ttf",
155155
)
156+
generate(
157+
"fonts/OpenDyslexic/OpenDyslexic-Regular.ttf",
158+
"open-dyslexic",
159+
merge_file="Whitespace-em1000.ttf",
160+
)
161+
generate(
162+
"fonts/OpenDyslexic/OpenDyslexic-Italic.ttf",
163+
"open-dyslexic",
164+
merge_file="Whitespace-em1000.ttf",
165+
)
166+
generate(
167+
"fonts/OpenDyslexic/OpenDyslexic-Bold.ttf",
168+
"open-dyslexic",
169+
merge_file="Whitespace-em1000.ttf",
170+
)
171+
generate(
172+
"fonts/OpenDyslexic/OpenDyslexic-BoldItalic.ttf",
173+
"open-dyslexic",
174+
merge_file="Whitespace-em1000.ttf",
175+
)
156176
generate(
157177
"fonts/OpenSans/static/OpenSans-Regular.ttf",
158178
"open-sans",

packages/keybr-fonts/lib/index.less

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
@import "nunito-700.css";
44
@import "nunito-700italic.css";
55

6+
@import "open-dyslexic-400.css";
7+
@import "open-dyslexic-400italic.css";
8+
@import "open-dyslexic-700.css";
9+
@import "open-dyslexic-700italic.css";
10+
611
@import "open-sans-400.css";
712
@import "open-sans-400italic.css";
813
@import "open-sans-700.css";
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
@font-face {
2+
font-family: "Open Dyslexic";
3+
font-weight: 400;
4+
font-style: normal;
5+
font-display: swap;
6+
src: url(../assets/open-dyslexic-400.cyrillic.woff2) format("woff2");
7+
unicode-range: U+0400-04FF;
8+
}
9+
@font-face {
10+
font-family: "Open Dyslexic";
11+
font-weight: 400;
12+
font-style: normal;
13+
font-display: swap;
14+
src: url(../assets/open-dyslexic-400.greek.woff2) format("woff2");
15+
unicode-range: U+0370-03FF;
16+
}
17+
@font-face {
18+
font-family: "Open Dyslexic";
19+
font-weight: 400;
20+
font-style: normal;
21+
font-display: swap;
22+
src: url(../assets/open-dyslexic-400.latin.woff2) format("woff2");
23+
unicode-range: U+0000-00FF, U+2000-206F, U+2200-22FF, U+E000-E003;
24+
}
25+
@font-face {
26+
font-family: "Open Dyslexic";
27+
font-weight: 400;
28+
font-style: normal;
29+
font-display: swap;
30+
src: url(../assets/open-dyslexic-400.latin-ext.woff2) format("woff2");
31+
unicode-range: U+0100-017F, U+0180-024F, U+0300-036F, U+20A0-20CF;
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
@font-face {
2+
font-family: "Open Dyslexic";
3+
font-weight: 400;
4+
font-style: italic;
5+
font-display: swap;
6+
src: url(../assets/open-dyslexic-400italic.cyrillic.woff2) format("woff2");
7+
unicode-range: U+0400-04FF;
8+
}
9+
@font-face {
10+
font-family: "Open Dyslexic";
11+
font-weight: 400;
12+
font-style: italic;
13+
font-display: swap;
14+
src: url(../assets/open-dyslexic-400italic.greek.woff2) format("woff2");
15+
unicode-range: U+0370-03FF;
16+
}
17+
@font-face {
18+
font-family: "Open Dyslexic";
19+
font-weight: 400;
20+
font-style: italic;
21+
font-display: swap;
22+
src: url(../assets/open-dyslexic-400italic.latin.woff2) format("woff2");
23+
unicode-range: U+0000-00FF, U+2000-206F, U+2200-22FF, U+E000-E003;
24+
}
25+
@font-face {
26+
font-family: "Open Dyslexic";
27+
font-weight: 400;
28+
font-style: italic;
29+
font-display: swap;
30+
src: url(../assets/open-dyslexic-400italic.latin-ext.woff2) format("woff2");
31+
unicode-range: U+0100-017F, U+0180-024F, U+0300-036F, U+20A0-20CF;
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
@font-face {
2+
font-family: "Open Dyslexic";
3+
font-weight: 700;
4+
font-style: normal;
5+
font-display: swap;
6+
src: url(../assets/open-dyslexic-700.cyrillic.woff2) format("woff2");
7+
unicode-range: U+0400-04FF;
8+
}
9+
@font-face {
10+
font-family: "Open Dyslexic";
11+
font-weight: 700;
12+
font-style: normal;
13+
font-display: swap;
14+
src: url(../assets/open-dyslexic-700.greek.woff2) format("woff2");
15+
unicode-range: U+0370-03FF;
16+
}
17+
@font-face {
18+
font-family: "Open Dyslexic";
19+
font-weight: 700;
20+
font-style: normal;
21+
font-display: swap;
22+
src: url(../assets/open-dyslexic-700.latin.woff2) format("woff2");
23+
unicode-range: U+0000-00FF, U+2000-206F, U+2200-22FF, U+E000-E003;
24+
}
25+
@font-face {
26+
font-family: "Open Dyslexic";
27+
font-weight: 700;
28+
font-style: normal;
29+
font-display: swap;
30+
src: url(../assets/open-dyslexic-700.latin-ext.woff2) format("woff2");
31+
unicode-range: U+0100-017F, U+0180-024F, U+0300-036F, U+20A0-20CF;
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
@font-face {
2+
font-family: "Open Dyslexic";
3+
font-weight: 700;
4+
font-style: italic;
5+
font-display: swap;
6+
src: url(../assets/open-dyslexic-700italic.cyrillic.woff2) format("woff2");
7+
unicode-range: U+0400-04FF;
8+
}
9+
@font-face {
10+
font-family: "Open Dyslexic";
11+
font-weight: 700;
12+
font-style: italic;
13+
font-display: swap;
14+
src: url(../assets/open-dyslexic-700italic.greek.woff2) format("woff2");
15+
unicode-range: U+0370-03FF;
16+
}
17+
@font-face {
18+
font-family: "Open Dyslexic";
19+
font-weight: 700;
20+
font-style: italic;
21+
font-display: swap;
22+
src: url(../assets/open-dyslexic-700italic.latin.woff2) format("woff2");
23+
unicode-range: U+0000-00FF, U+2000-206F, U+2200-22FF, U+E000-E003;
24+
}
25+
@font-face {
26+
font-family: "Open Dyslexic";
27+
font-weight: 700;
28+
font-style: italic;
29+
font-display: swap;
30+
src: url(../assets/open-dyslexic-700italic.latin-ext.woff2) format("woff2");
31+
unicode-range: U+0100-017F, U+0180-024F, U+0300-036F, U+20A0-20CF;
32+
}

0 commit comments

Comments
 (0)