-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmy-font.html
43 lines (40 loc) · 1.24 KB
/
my-font.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
<!DOCTYPE html>
<style>
@font-face {
font-family: CSChatThai;
src: url('/bower_components/my-style/fonts/CSChatThai/CSChatThai.ttf');
}
@font-face {
font-family: CSChatThaiUI;
src: url('/bower_components/my-style/fonts/CSChatThai/CSChatThaiUI.ttf');
}
@font-face {
font-family: MitrBold;
src: url('/bower_components/my-style/fonts/Mitr/Mitr-Bold.ttf');
}
@font-face {
font-family: MitrExtraLight;
src: url('/bower_components/my-style/fonts/Mitr/Mitr-ExtraLight.ttf');
}
@font-face {
font-family: MitrLight;
src: url('/bower_components/my-style/fonts/Mitr/Mitr-Light.ttf');
}
@font-face {
font-family: MitrMedium;
src: url('/bower_components/my-style/fonts/Mitr/Mitr-Medium.ttf');
}
@font-face {
font-family: MitrRegular;
src: url('/bower_components/my-style/fonts/Mitr/Mitr-Regular.ttf');
}
@font-face {
font-family: MitrSemiBold;
src: url('/bower_components/my-style/fonts/Mitr/Mitr-SemiBold.ttf');
}
</style>
<script>
var importDoc = document.currentScript.ownerDocument;
var style = importDoc.querySelector('style');
document.head.appendChild(style);
</script>