-
Notifications
You must be signed in to change notification settings - Fork 83
/
index-hebrew.php
130 lines (105 loc) · 4.09 KB
/
index-hebrew.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
<?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 - Hebrew Version</title>
<link type="text/css" href="css/styles-v9.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" />
<link type="text/css" href="css/rtl-v1.css?rand=<?php echo rand(5,500)?>" rel="stylesheet" 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/hebrew/constants-hebrew.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="#lowercases">א-ת</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="#diacritics">Diacritics</a></li>
</ul>
<!-- Headlines (Content injected via constants.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 Javascript) -->
<div id="text" style="width: 920px;">
<div class="textsettingCol1"></div>
<div class="textsettingCol2"></div>
</div>
<!-- Lowercases a-z (Content injected via constants.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>
<!-- Layout -->
<div id="layout">
<?php include("includes/hebrew/layout.php"); ?>
</div>
<!-- Lettering Sheet -->
<div id="lettering">
<?php include("includes/hebrew/lettering.php"); ?>
</div>
<!-- Kerning -->
<div id="kern">
<?php include("includes/hebrew/kerning.php"); ?>
</div>
<!-- Hinting (Content injected via constants.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-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="diacritics">
<?php include("includes/hebrew/diatrics.php"); ?>
</div>
</div><!-- end tabs -->
</section>
<!-- Footer -->
<?php include("includes/footer.php"); ?>
</body>
</html>