forked from impallari/Font-Testing-Page
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-telugu.php
executable file
·138 lines (108 loc) · 4.21 KB
/
index-telugu.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
<?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 - Kannada 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/telugu/constants-telugu.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="#alphabet">Alphabet</a></li>
<li><a href="#vowelsigns">Vowel sign combos</a></li>
<li><a href="#headlines">Headlines</a></li>
<li><a href="#tamiltext">Paragraph</a></li>
<li><a href="#talatext">Telugu + Latin</a></li>
<li><a href="#adhesion">Adhesion</a></li>
<li><a href="#caps">Words</a></li>
<li><a href="#layout">Layout</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>
<!-- Telugu Text (Content injected via Javascript) -->
<div id="tamiltext" style="width: 920px;">
<div class="textsettingCol1"></div>
<div class="textsettingCol2"></div>
</div>
<!-- Telugu + Latin Text (Content injected via Javascript) -->
<div id="talatext" style="width: 920px;">
<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: 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.js) -->
<div id="caps">
<div style="width: 920px;"></div>
</div>
<!-- Layout -->
<div id="layout">
<?php include("includes/telugu/layout.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-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 id="alphabet">
<?php include("includes/telugu/alphabet.php"); ?>
</div>
<div id="vowelsigns">
<?php include("includes/telugu/vowelsigns.php"); ?>
</div>
</div><!-- end tabs -->
</section>
<!-- Footer -->
<?php include("includes/footer.php"); ?>
</body>
</html>