-
Notifications
You must be signed in to change notification settings - Fork 84
/
index.php
171 lines (141 loc) · 5.2 KB
/
index.php
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
<?php header("Content-type: text/html; charset=utf-8"); // UTF 8 ?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Font Testing Page - Latin Version</title>
<link type="text/css" href="css/styles-v11.css?rand=<?php echo rand(5,500)?>" rel="stylesheet" charset="utf-8" />
<link type="text/css" href="css/print-v9.css" rel="stylesheet" media="print" charset="utf-8" />
<script src="js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
<script>localStorage.clear();</script>
<script src="js/fontdrag.js" type="text/javascript" charset="utf-8"></script>
<script src="js/otfeatures-v9.1.js" type="text/javascript" charset="utf-8"></script>
<script src="js/contentEditable.js" type="text/javascript" charset="utf-8"></script>
<script src="includes/latin/constants-latin.js" type="text/javascript" charset="utf-8"></script>
<script src="js/init.js" type="text/javascript" charset="utf-8"></script>
<script>
$(document).ready(function(){
// Grab the text from the JS constant file, and show it
prepareAndShowFontLayout();
});
</script>
</head>
<body spellcheck="false">
<?php include("includes/top.php"); ?>
<section id="custom">
<div class="tabs">
<!-- Navigation (Ideally, this should be outside the "custom" section, so the navigation's font does not change.) -->
<ul class="tabNavigation">
<li><a href="#headlines">Headlines</a></li>
<li><a href="#text">Text</a></li>
<li><a href="#adhesion">adhesion</a></li>
<li><a href="#hamburgefonstiv">hamburgefonstiv</a></li>
<li><a href="#lowercases">a-z</a></li>
<li><a href="#caps">Words</a></li>
<li><a href="#allcaps">Caps</a></li>
<li><a href="#layout">Layout</a></li>
<li><a href="#lettering">Lettering</a></li>
<li><a href="#kern">Kern</a></li>
<li><a href="#hinting">Hinting</a></li>
<li><a href="#latin">Latin</a></li>
<li><a href="#world">World Scripts</a></li>
</ul>
<!-- Headlines (Content injected via constants.js) -->
<div id="headlines">
<div style="white-space: nowrap; overflow: hidden; width: 1020px;"></div>
</div>
<!-- Text (Content injected via Javascript) -->
<div id="text" style="width: 1020px;">
<div class="textsettingCol1"></div>
<div class="textsettingCol2"></div>
</div>
<!-- adhesion (Content injected via constants.js) -->
<div id="adhesion">
<div style="white-space: nowrap; overflow: hidden; width: 1020px;"></div>
<p> </p>
<p> </p>
<div style="width: 1020px;">
<div class="textsettingCol1"></div>
<div class="textsettingCol2"></div>
</div>
</div>
<!-- hamburgefonstiv (Content injected via constants.js) -->
<div id="hamburgefonstiv">
<div style="white-space: nowrap; overflow: hidden; width: 1020px;" ></div>
<p> </p>
<p> </p>
<div style="width: 1020px;">
<div class="textsettingCol1"></div>
<div class="textsettingCol2"></div>
</div>
</div>
<!-- Lowercases a-z (Content injected via constants.js) -->
<div id="lowercases">
<div style="white-space: nowrap; overflow: hidden; width: 1020px;"></div>
<p> </p>
<p> </p>
<div style="width: 1020px;">
<div class="textsettingCol1"></div>
<div class="textsettingCol2"></div>
</div>
</div>
<!-- Caps (Content injected via constants.js) -->
<div id="caps">
<div style="width: 1020px;"></div>
</div>
<!-- All Caps (Content injected via constants.js) -->
<div id="allcaps">
<div style="width: 1020px;"></div>
</div>
<!-- Layout -->
<div id="layout">
<?php include("includes/latin/layout.php"); ?>
</div>
<!-- Lettering Sheet -->
<div id="lettering">
<?php include("includes/latin/lettering.php"); ?>
</div>
<!-- Kerning -->
<div id="kern">
<?php include("includes/latin/kerning.php"); ?>
</div>
<!-- Hinting (Content injected via constants.js) -->
<div id="hinting">
<div style="width: 1020px;" contenteditable="true">
<p class="sizelabel"><?php echo $_SERVER['HTTP_USER_AGENT'] ?></p><p> </p>
<p class="sizelabel">48px</p>
<p class="hints-lower" style="font-size: 48px;"></p>
<p class="hints-caps" style="font-size: 48px;"></p>
<p class="hints-numbers" style="font-size: 48px;"></p>
<p> </p>
<p class="sizelabel">28px</p>
<p class="hints-lower" style="font-size: 28px;"></p>
<p style="font-size: 28px;">
<span class="hints-caps"></span>
<span class="hints-numbers"></span>
</p><p> </p>
<?php for ($i = 24; $i >= 9; $i--) { ?>
<p class="sizelabel"><?php echo $i; ?>px</p>
<p class="hints-lower" style="font-size: <?php echo $i; ?>px;"></p>
<p style="font-size: <?php echo $i; ?>px;">
<span class="hints-caps"></span>
<span class="hints-numbers"></span>
</p>
<p> </p>
<?php } ?>
</div>
</div>
<!-- Latin -->
<div id="latin">
<?php include("includes/latin/diatrics.php"); ?>
</div>
<!-- Non-Latin -->
<div id="world">
<?php include("includes/latin/world-scripts.php"); ?>
</div>
</div><!-- end tabs -->
</section>
<!-- Footer -->
<?php include("includes/footer.php"); ?>
</body>
</html>