forked from dtinth/comic-mono-font
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
474 lines (473 loc) · 15.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="A legible monospace font for playful professionals. Comic Sans for
hackers"
/>
<link rel="icon" type="image/x-icon" href="favicon.png" />
<link rel="stylesheet" href="style.css" />
<script src="./index.js" defer></script>
<title>Serious Shanns</title>
</head>
<body>
<div id="main" class="seriousOriginal">
<h1>Serious Shanns</h1>
<p>
A legible monospace font for playful professionals. Comic Sans for
hackers
</p>
<p>
This font is a fork of
<a
target="_blank"
rel="noopener noreferrer"
href="https://github.com/dtinth"
>dtinth</a
>'s
<a
target="_blank"
rel="noopener noreferrer"
href="https://github.com/dtinth/comic-mono-font"
>Comic Mono</a
>, which in turn is a fork of
<a
target="_blank"
rel="noopener noreferrer"
href="https://github.com/shannpersand"
>Shannon Miwa</a
>'s
<a
target="_blank"
rel="noopener noreferrer"
href="https://github.com/shannpersand/comic-shanns"
>Comic Shanns</a
>
(version 1)
</p>
<h2>Example Text</h2>
<div id="exampleText" class="serious seriousOriginal">
<p>the five boxing wizards jump quickly.</p>
<p>THE FIVE BOXING WIZARDS JUMP QUICKLY!</p>
<p>0123456789.:,;(*!?')</p>
<p>aoe i|I1lL oO08 qg9CGq [{()}]</p>
</div>
<br />
<div id="previewButtons">
<div class="flex column">
<button id="seriousOriginalButton" class="seriousButton">
Serious Shanns
</button>
<button id="seriousBoldButton" class="seriousButton">
Serious Shanns Bold
</button>
<button id="seriousLightButton" class="seriousButton">
Serious Shanns Light
</button>
</div>
<div class="flex column">
<button id="seriousItalicButton" class="seriousButton">
Serious Shanns Italic
</button>
<button id="seriousBoldItalicButton" class="seriousButton">
Serious Shanns Bold Italic
</button>
<button id="seriousLightItalicButton" class="seriousButton">
Serious Shanns Light Italic
</button>
</div>
</div>
<br />
<div>
Apply to...
<div>
<label for="entirePageRadio">Entire page:</label>
<input
type="radio"
name="applyTo"
id="entirePageRadio"
value="entirePage"
/>
</div>
<div>
<label for="exampleTextOnlyRadio">Example text only:</label>
<input
type="radio"
name="applyTo"
id="exampleTextOnlyRadio"
value="exampleTextOnly"
checked
/>
</div>
</div>
<br />
<div>
<label for="newExampleTextInput">Change example text:</label>
<div>
<input
type="text"
id="newExampleTextInput"
name="newExampleTextInput"
/>
<button id="newExampleTextButton">Update</button>
</div>
</div>
<br />
<h2 id="downloads">Downloads</h2>
<i>
Note: These downloads are for the bleeding edge (unstable) version. For
stable releases, please see the
<a href="https://github.com/kaBeech/serious-shanns/releases">
releases page</a>.
</i>
<br />
<div class="twoColumnsIfFits">
<div>
<a href="./SeriousShanns/SeriousShanns.zip"><strong>All font files</strong></a>
<h3>Regular</h3>
<ul>
<li>
<a href="./SeriousShanns/SeriousShannsOTF.zip">All regular font files</a>
</li>
<br />
<li>
<a href="./SeriousShanns/otf/SeriousShanns-Regular.otf">SeriousShanns-Regular.otf</a>
</li>
<li>
<a href="./SeriousShanns/otf/SeriousShanns-Italic.otf"
>SeriousShanns-Italic.otf</a
>
</li>
<br />
<li>
<a href="./SeriousShanns/otf/SeriousShanns-Bold.otf"
>SeriousShanns-Bold.otf</a
>
</li>
<li>
<a href="./SeriousShanns/otf/SeriousShanns-BoldItalic.otf"
>SeriousShanns-BoldItalic.otf</a
>
</li>
<br />
<li>
<a href="./SeriousShanns/otf/SeriousShanns-Light.otf"
>SeriousShanns-Light.otf</a
>
</li>
<li>
<a href="./SeriousShanns/otf/SeriousShanns-LightItalic.otf"
>SeriousShanns-LightItalic.otf</a
>
</li>
</ul>
</div>
</div>
<br />
<h3 id="nerdFont">
<a
target="_blank"
rel="noopener noreferrer"
href="https://www.nerdfonts.com/"
>Nerd Font</a
>
</h3>
<ul>
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFont.zip">All Nerd Font files</a>
</li>
<br />
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFont-Regular.otf">SeriousShannsNerdFont-Regular.otf</a>
</li>
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFont-Italic.otf"
>SeriousShannsNerdFont-Italic.otf</a
>
</li>
<br />
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFont-Bold.otf"
>SeriousShannsNerdFont-Bold.otf</a
>
</li>
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFont-BoldItalic.otf"
>SeriousShannsNerdFont-BoldItalic.otf</a
>
</li>
<br />
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFont-Light.otf"
>SeriousShannsNerdFont-Light.otf</a
>
</li>
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFont-LightItalic.otf"
>SeriousShannsNerdFont-LightItalic.otf</a
>
</li>
</ul>
<br />
<h3>Nerd Font Mono</h3>
<ul>
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFontMono.zip">All Nerd Font Mono files</a>
</li>
<br />
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFontMono-Regular.otf">SeriousShannsNerdFontMono-Regular.otf</a>
</li>
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFontMono-Italic.otf"
>SeriousShannsNerdFontMono-Italic.otf</a
>
</li>
<br />
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFontMono-Bold.otf"
>SeriousShannsNerdFontMono-Bold.otf</a
>
</li>
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFontMono-BoldItalic.otf"
>SeriousShannsNerdFontMono-BoldItalic.otf</a
>
</li>
<br />
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFontMono-Light.otf"
>SeriousShannsNerdFontMono-Light.otf</a
>
</li>
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFontMono-LightItalic.otf"
>SeriousShannsNerdFontMono-LightItalic.otf</a
>
</li>
</ul>
<br />
<h3>Nerd Font Propo</h3>
<ul>
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFontPropo.zip">All Nerd Font Propo files</a>
</li>
<br />
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFontPropo.otf"
>SeriousShannsNerdFontPropo.otf</a
>
</li>
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFontPropo-Italic.otf"
>SeriousShannsNerdFontPropo-Italic.otf</a
>
</li>
<br />
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFontPropo-Bold.otf"
>SeriousShannsNerdFontPropo-Bold.otf</a
>
</li>
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFontPropo-BoldItalic.otf"
>SeriousShannsNerdFontPropo-BoldItalic.otf</a
>
</li>
<br />
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFontPropo-Light.otf"
>SeriousShannsNerdFontPropo-Light.otf</a
>
</li>
<li>
<a href="./SeriousShanns/nerdfont/SeriousShannsNerdFontPropo-LightItalic.otf"
>SeriousShannsNerdFontPropo-LightItalic.otf</a
>
</li>
</ul>
<br />
<h2>What?</h2>
<p>
Serious Shanns is a legible monospaced font made to resemble the classic
Comic Sans font we all know and love. It is designed to be suitable for
use in a professional coding environment while retaining the playfulness
of the original
</p>
<p>
Here's what it looks like viewing one of
<a
target="_blank"
rel="noopener noreferrer"
href="https://github.com/kaBeech/Advent-Of-Code"
>my Advent Of Code functions</a
>
in VS Code:
</p>
<p>
<img
src="./vscExample.png"
alt="Serious Shanns in VS Code"
title="Serious Shanns in VS Code"
style="max-width: 100%"
/>
</p>
<p>
Here it is in the terminal, showing off the fancy Nerd Font symbols:
</p>
<p>
<img
src="./nerdFontExample.png"
alt="Serious Shanns in Kitty with Starship"
title="Serious Shanns in Kitty with Starship"
style="max-width: 100%"
/>
</p>
<h2>Why?</h2>
<p>
Many reasons!
<ul>
<li>• Comic Sans is renowned as a
<a href="https://www.nothingcomicaboutdyslexia.com/">
dyslexia-friendly font
</a>!
</li>
<br />
<li>• To help overcome writer's block, some writers change the font
of their word processor to Comic Sans. Perhaps the jaunty style
helps put our brains in a playful mood so we can just write
without getting hung up in self-criticism
</li>
<br />
<li>• Some people just like the look of Comic Sans ¯\_(ツ)_/¯</li>
</ul>
</p>
<p>
Serious Shanns aims to provide that same experience for programmers and
their IDE's. As coders, we also enjoy playful styling and tools that
help us just get to work. But most of us like to have certain standards
that make our work easier. Monospacing and legibility are important
factors that facilitate quick scanning of many lines of code
</p>
<h3>Legibility</h3>
<p>
Legibility means being able to quickly tell which character is which. In
fonts with low legibility, for example, it can be difficult to tell the
difference between an upper case 'I' and a numeral '1'
</p>
<h3>Monospacing</h3>
<p>
Monospacing means ensuring every character has the same width. This is
helpful to quickly line up rows of text. For an example of why this is
helpful, consider adding up a fancy dinner bill:
</p>
<p>
<img
src="./fancyDinner.png"
alt="Adding up a fancy dinner bill"
title="Adding up a fancy dinner bill"
style="max-width: 100%"
/>
</p>
<p>
Without a monospaced font, getting all those numbers to line up for easy
adding would be a pain!
</p>
<h3>Origins</h3>
<p>
I originally changed the font in my IDE to Comic Mono as a joke. I
decided to leave it that way for a while for fun, and found that it
actually seems to help my mindset while working. I made Serious Shanns as
my own leetle fork to improve the usability of the font ^_^
</p>
<h2>Differences from Comic Mono:</h2>
<br />
<ul>
<li>• Edits the 'a' to make it look less like an 'o'</li>
<br />
<li>• Edits the 'l' to make it look less like a '1'</li>
<br />
<li>• Adds 'λ', 'ł', and 'Ł' glyphs</li>
<br />
<li>
• Adds a Light weight style
</li>
<br />
<li>• Adds Italic styles for each weight style</li>
</ul>
<br />
<h2>Any issues?</h2>
<p>If you notice any, please feel free to open an issue!</p>
<p>
The Light weight version could use a little refining still (the height
and x-height seem to be off for some glyphs). I improved the x-height
for the Light Italic style (where it was especially noticable) but I
have not yet improved Light Original
</p>
<p>
There are some horizontal alignment issues with t/T's and f's in the
Italic styles
</p>
<h2>GitHub</h2>
<p>
<a
target="_blank"
rel="noopener noreferrer"
href="https://github.com/kaBeech/serious-shanns"
>Serious Shanns is hosted on GitHub!</a
>
</p>
<h2>See Also</h2>
<p>
<a
target="_blank"
rel="noopener noreferrer"
href="https://github.com/jesusmgg/comic-shanns-mono"
>Comic Shanns Mono</a> is another fork of Comic Shanns. If you need
more characters and don't need the glyph changes and extended styles,
it might be the right choice for you!</p>
<h2>License</h2>
<p>
Serious Shanns is licensed under the
<a target="_blank" rel="noopener noreferrer" href="./LICENSE"
>MIT License</a
>
</p>
<h2>Contributors<h2>
<p>
In addition to those listed in the
<a target="_blank" rel="noopener noreferrer" href="./LICENSE">
LICENSE
</a>, thank you to the following contributors(
<a target="_blank" rel="noopener noreferrer"
href="https://allcontributors.org/docs/en/emoji-key">
emoji key
</a>):
</p>
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%">
<a href="https://github.com/vic1707">
<img
src="https://avatars.githubusercontent.com/u/28602203?v=4?s=100"
width="100px;"
alt="Victor LEFEBVRE"/>
<br />
<sub>
<b>Victor LEFEBVRE</b>
</sub>
</a>
<br />
<a href="#bug-vic1707" title="Bug reports">🐛</a>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>