forked from impallari/Font-Testing-Page
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-cyrillic.php
160 lines (132 loc) · 4.99 KB
/
index-cyrillic.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
<?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 - Cyrillic Version</title>
<link type="text/css" href="css/styles-v9.css" 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" type="text/javascript" charset="utf-8"></script>
<script src="includes/cyrillic/constants-cyr.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">облако</a></li>
<li><a href="#hamburgefonstiv">киберносуфа</a></li>
<li><a href="#lowercases">a-я</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>
</ul>
<!-- Headlines (Content injected via constants-cyr.js) -->
<div id="headlines">
<!-- <div style="white-space: nowrap; overflow: hidden; width: 920px;"> -->
<div style="white-space: nowrap; overflow: hidden; width: 920px;"></div>
</div>
<!-- Text (Content injected via constants-cyr.js) -->
<div id="text" style="width: 920px;">
<div class="textsettingCol1"></div>
<div class="textsettingCol2"></div>
</div>
<!-- adhesion (Content injected via constants-cyr.js) -->
<div id="adhesion">
<div style="white-space: nowrap; overflow: hidden; width: 920px;"></div>
<p> </p>
<p> </p>
<div style="width: 920px;">
<div class="textsettingCol1"></div>
<div class="textsettingCol2"></div>
</div>
</div>
<!-- hamburgefonstiv (Content injected via constants-cyr.js) -->
<div id="hamburgefonstiv">
<div style="white-space: nowrap; overflow: hidden; width: 920px;" ></div>
<p> </p>
<p> </p>
<div style="width: 920px;">
<div class="textsettingCol1"></div>
<div class="textsettingCol2"></div>
</div>
</div>
<!-- Lowercases a-z (Content injected via constants-cyr.js) -->
<div id="lowercases">
<div style="white-space: nowrap; overflow: hidden; width: 920px;"></div>
<p> </p>
<p> </p>
<div style="width: 920px;">
<div class="textsettingCol1"></div>
<div class="textsettingCol2"></div>
</div>
</div>
<!-- Caps (Content injected via constants-cyr.js) -->
<div id="caps">
<div style="width: 920px;"></div>
</div>
<!-- All Caps (Content injected via constants-cyr.js) -->
<div id="allcaps">
<div style="width: 920px;"></div>
</div>
<!-- Layout -->
<div id="layout">
<?php include("includes/cyrillic/layout.php"); ?>
</div>
<!-- Lettering Sheet -->
<div id="lettering">
<?php include("includes/cyrillic/lettering.php"); ?>
</div>
<!-- Kerning -->
<div id="kern">
<?php include("includes/cyrillic/kerning.php"); ?>
</div>
<!-- Hinting (Content injected via constants-cyr.js) -->
<div id="hinting">
<div style="width: 920px;" 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>
</div><!-- end tabs -->
</section>
<!-- Footer -->
<?php include("includes/footer.php"); ?>
</body>
</html>