-
Notifications
You must be signed in to change notification settings - Fork 123
/
Copy pathindex.html
96 lines (82 loc) · 3.63 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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="description" content="Facetype.js : typeface.js generator ">
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
<title>Facetype.js</title>
</head>
<body>
<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
<a id="forkme_banner" href="https://github.com/gero3/facetype.js">View on GitHub</a>
<h1 id="project_title">Facetype.js</h1>
<h2 id="project_tagline">typeface.js generator </h2>
</header>
</div>
<!-- MAIN CONTENT -->
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
<h3> TypeFace.js converter</h3>
<div> This converts a font to a typeface.js font.</div>
<div class="inputRow">
<input id="fileInput" type="file" multiple/>
</div>
<div class="inputRow">
<div class="col">
<input id="filetypeJson" type="radio" name="filetype" value="json" checked/>
<label for="filetypeJson">
Generate a JSON file (.json)
<p class="deemphasized">This will export only the font data and not include the facetype.js declaration script.</p>
</label>
</div>
<div class="col">
<input id="filetypeJs" type="radio" name="filetype" value="js"/>
<label for="filetypeJs">
Generate a JavasScript file (.js)
<p class="deemphasized">This will export a JavaScript file that includes the facetype.js script execution. This is for legacy compatibility with older projects.</p>
</label>
</div>
</div>
<div class="inputRow">
<input id="reverseTypeface" type="checkbox"/>
<label for="reverseTypeface">
Reverse font direction.
<p class="deemphasized">Use this to fix issues with holes in characters like 'd', 'o' and '8'.</p>
</label>
</div>
<div class="inputRow">
<input id="restrictCharacters" type="checkbox"/>
<label for="restrictCharacters">
Restrict character set.
<p class="deemphasized">This will export only the specified characters (eg. 'abcd'), or character range (eg. '1-256').</p>
<p><input id="restrictCharacterSet" class="largeInput"/></p>
</label>
</div>
<div>
<input id="convert" type="submit" title= "convert" value="Convert" />
<!--<input id="view" type="submit" title= "view" value="View" />-->
</div>
</section>
</div>
<!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">
<p class="copyright">Facetype.js maintained by <a href="https://github.com/gero3">gero3</a></p>
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
</footer>
</div>
<script src ="javascripts/opentype.min.js" ></script>
<script src ="javascripts/main.js" ></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-62800551-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>