-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
145 lines (131 loc) · 6.38 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
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
<!DOCTYPE html>
<html lang="gu" manifest="manifest.appcache">
<head>
<meta charset="utf-8">
<title>છાપકામ : ગુજરાતી ફોન્ટ અવલોકન</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Github Ribbon -->
<a href="https://github.com/samyakbhuta/chhapkaam">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" alt="Fork chhapkaam on GitHub">
</a>
<!-- iOS Web Application Support -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- iPhone ICON -->
<link rel="apple-touch-icon" sizes="57x57" href="ios/Icon.png" />
<!-- iPad ICON-->
<link rel="apple-touch-icon" sizes="72x72" href="ios/Icon-72.png" />
<!-- iPhone (Retina) ICON-->
<link rel="apple-touch-icon" sizes="114x114" href="ios/[email protected]" />
<!-- iPad (Retina) ICON-->
<link rel="apple-touch-icon" sizes="144x144" href="ios/[email protected]" />
<!-- iPhone SPLASHSCREEN-->
<link rel="apple-touch-startup-image" href="ios/splashscreens/apple-touch-startup-image-320x460.png" media="(device-width: 320px)"/>
<!-- iPhone (Retina) SPLASHSCREEN-->
<link rel="apple-touch-startup-image" href="ios/splashscreens/apple-touch-startup-image-640x920.png" media="(device-width: 320px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image"/>
<!-- iPad (non-Retina) (Portrait) -->
<link rel="apple-touch-startup-image" href="ios/splashscreens/apple-touch-startup-image-768x1004.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait)"/>
<!-- iPad (non-Retina) (Landscape) -->
<link rel="apple-touch-startup-image" href="ios/splashscreens/apple-touch-startup-image-1024x748.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape)"/>
<!-- iPad (Retina) (Portrait) -->
<link rel="apple-touch-startup-image" href="ios/splashscreens/apple-touch-startup-image-1536x2008.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) and (-webkit-min-device-pixel-ratio: 2)"/>
<!-- iPad (Retina) (Landscape) -->
<link rel="apple-touch-startup-image" href="ios/splashscreens/apple-touch-startup-image-2048x1496.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) and (-webkit-min-device-pixel-ratio: 2)"/>
<style type="text/css">
body {
text-align: center;
}
@font-face {
font-family: 'Aakar';
src: url('Aakar-sfntly-webfonts.eot');
src: local('Aakar'),
url('Aakar-sfntly-webfonts.eot?#iefix') format('embedded-opentype'),
url('Aakar-sfntly-webfonts.woff') format('woff'),
url('Aakar-sfntly-webfonts.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Rekha';
src: url('Rekha-sfntly-webfonts.eot');
src: local('Rekha'),
url('Rekha-sfntly-webfonts.eot?#iefix') format('embedded-opentype'),
url('Rekha-sfntly-webfonts.woff') format('woff'),
url('Rekha-sfntly-webfonts.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Samyak';
src: url('Samyak-Gujarati-sfntly-webfonts.eot');
src: local('Samyak Gujarati'),
local('Samyak'),
url('Samyak-Gujarati-sfntly-webfonts.eot?#iefix') format('embedded-opentype'),
url('Samyak-Gujarati-sfntly-webfonts.woff') format('woff'),
url('Samyak-Gujarati-sfntly-webfonts.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Lohit';
src: url('Lohit-Gujarati-sfntly-webfonts.eot');
src: local('Lohit Gujarati'),
local('Lohit'),
url('Lohit-Gujarati-sfntly-webfonts.eot?#iefix') format('embedded-opentype'),
url('Lohit-Gujarati-sfntly-webfonts.woff') format('woff'),
url('Lohit-Gujarati-sfntly-webfonts.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
</style>
</head>
<body>
<p>છાપકામ : ગુજરાતી ફોન્ટ અવલોકન</p>
<div>
<button class="fontFamily">Gujarati MT</button>
<button class="fontFamily">Gujarati Sangam MN</button>
<button class="fontFamily">Aakar</button>
<button class="fontFamily">Rekha</button>
<button class="fontFamily">Samyak</button>
<button class="fontFamily">Lohit</button>
</div>
<div>
<button class="fontSize">0.5em</button>
<button class="fontSize">1em</button>
<button class="fontSize">1.5em</button>
<button class="fontSize">2em</button>
<button class="fontSize">2.5em</button>
<button class="fontSize">3em</button>
<button class="fontSize">4em</button>
</div>
<p>ૐ</p>
<p>અ આ ઇ ઈ ઉ ઊ ઋ ૠ ઍ એ ઐ ઑ ઓ ઔ</p>
<p>કઁ કં કઃ ક઼ કઽ કા કિ કી કુ કૂ કૃ કૄ કૅ કે કૈ કૉ કો કૌ ક્</p>
<p>૧ ૨ ૩ ૪ ૫ ૬ ૭ ૮ ૯ ૦</p>
<p>ક ખ ગ ઘ ઙ</p>
<p>ચ છ જ ઝ ઞ</p>
<p>ટ ઠ ડ ઢ ણ</p>
<p>ત થ દ ધ ન</p>
<p>પ ફ બ ભ મ</p>
<p>ય ર લ ળ વ</p>
<p>શ ષ સ હ</p>
<p>ક્ષ ત્ર જ્ઞ શ્ર</p>
<p>૧ ૨ ૩ ૪ ૫ ૬ ૭ ૮ ૯ ૦</p>
<p>૱</p>
<script src="jquery-1.9.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('button.fontFamily').bind('click', function() {
changeStyle(null,$(this).text());
});
$('button.fontSize').bind('click', function() {
changeStyle($(this).text(),null);
});
});
function changeStyle (fontSize, fontFamily) {
fontSize && $('p').css("font-size",fontSize);
fontFamily && $('p').css("font-family",fontFamily);
}
</script>
</body>
</html>