-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEmojiTest.html
64 lines (59 loc) · 2.2 KB
/
EmojiTest.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
<html>
<head>
<title>Emoji Test Page</title>
</head>
<body style="font-family: sans-serif;">
<style type="text/css">
h4 {
background: lightgray;
margin: 3px 0;
}
h5 {
background: antiquewhite;
margin: 3px 0;
}
</style>
<h1>Emoji Test Page</h1>
<div id="output"></div>
<script type="text/javascript">
var outE = document.getElementById("output");
function showUnicode(from, to, description) {
outE.innerHTML += "<h4>" + from + " to " + to + " - " + description + "</h4>";
var goodies = "";
goodies += "<h5>Default Rendering</h5>";
for (var i = parseInt(from, 16); i <= parseInt(to, 16); i++)
goodies += "&#" + i + ";";
goodies += "<br><br>";
goodies += "<h5>Segoe UI Symbol</h5>";
goodies += `<div style="font-family: "Segoe UI Symbol";">`;
for (var i = parseInt(from, 16); i <= parseInt(to, 16); i++)
goodies += "&#" + i + ";";
goodies += "</div>";
goodies += "<br>";
goodies += "<h5>Variation Selector 15</h5>";
for (var i = parseInt(from, 16); i <= parseInt(to, 16); i++)
goodies += "&#" + i + ";︎";
goodies += "<br><br>";
goodies += "<h5>Variation Selector 16</h5>";
for (var i = parseInt(from, 16); i <= parseInt(to, 16); i++)
goodies += "&#" + i + ";️";
goodies += "<br>";
goodies += "<br><br>";
outE.innerHTML += goodies;
}
function go() {
showUnicode("2300", "23FF", "Miscellaneous Technical");
showUnicode("2600", "26FF", "Miscellaneous Symbols");
showUnicode("2700", "27BF", "Dingbats");
showUnicode("1F300", "1F5FF", "Miscellaneous Symbols and Pictographs");
showUnicode("1F600", "1F64F", "Emoticons");
showUnicode("1F650", "1F67F", "Ornamental Dingbats");
showUnicode("2100", "214F", "Letterlike Symbols");
showUnicode("1F680", "1F6FF", "Transport and Map Symbols");
showUnicode("1F780", "1F7FF", "Geometric Shapes Extended");
}
go();
</script>
<br>
<a style="font-size: 200%;font-weight: bold;" href="index.html">MY OTHER STUFF</a>
</body>