-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
36 lines (33 loc) · 1.49 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1" name="viewport">
<title>Glytter: Glytter: the font glyph getter</title>
<link rel="stylesheet" href="glytter.css" rel="stylesheet" />
</head>
<body>
<div class="page">
<header>
<h1>Glytter: the font glyph getter</h1>
</header>
<main>
<p><em>This tool lets you view all characters for most font files (.ttf, .otf, .woff, or .woff2) on your local machine. Fonts are kept on your machine and not uploaded anywhere.</em></p>
<h2>Current Font: <span id="fontfam">Firava</span></h2>
<p><label for="fontinput">Change font:</label> <input type="file" id="fontinput" name="fontinput"></p>
<p id="charmap"></p>
</main>
<footer>
<h2>Notes</h2>
<ul>
<li><a href="https://github.com/hellogreg/glytter">View this project on GitHub.</a></li>
<li>Glytter uses <a href="https://github.com/foliojs/fontkit">fontkit</a> to parse font info.</li>
<li>The page's default typeface, <a href="https://firava.netlify.app/">Firava</a>, is a variable adaptation of Mozilla's Fira Sans.</li>
<li>This project was created by me, <a href="http://hellogreg.org">Greg Gibson</a>, because I wanted a simple tool for viewing and copying character sets for fonts I produce or use.</li>
</ul>
</footer>
</div>
</body>
<script src="fontkit.min.js"></script>
<script src="glytter.js"></script>
</html>