-
Notifications
You must be signed in to change notification settings - Fork 0
/
assets_fonts.go
131 lines (127 loc) · 3.31 KB
/
assets_fonts.go
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
package spin
const (
Font04B_03_7px = "04B-03-7px"
Font09x5 = "Font09x5"
Font09x6 = "Font09x6"
Font09x7 = "Font09x7"
Font14x9 = "Font14x9"
Font14x8 = "Font14x8"
Font14x10 = "Font14x10"
Font18x10 = "Font18x10"
Font18x11 = "Font18x11"
Font18x12 = "Font18x12"
FontPfArmaFive8 = "FontPfArmaFive8"
FontPfRondaSeven8 = "FontPfRondaSeven8"
FontPfRondaSevenBold8 = "FontPfRondaSevenBold8"
FontPfRondaSevenBold16 = "FontPfRondaSevenBold16"
FontPfTempestaFive8 = "FontPfTempestaFive8"
FontPfTempestaFiveBold8 = "FontPfTempestaFiveBold8"
FontPfTempestaFiveCompressed8 = "FontPfTempestaFiveCompressed8"
FontPfTempestaFiveCompressedBold8 = "FontPfTempestaFiveCompressedBold8"
FontPfTempestaFiveCondensed8 = "FontPfTempestaFiveCondensed8"
FontPfTempestaFiveCondensedBold8 = "FontPfTempestaFiveCondensedBold8"
FontPfTempestaFiveExtended8 = "FontPfTempestaFiveExtended8"
FontPfTempestaFiveExtendedBold8 = "FontPfTempestaFiveExtendedBold8"
)
func RegisterFonts(eng *Engine) {
eng.Do(RegisterFont{
ID: Font04B_03_7px,
Path: "proc-shared/04B-03-7px.dmd",
})
eng.Do(RegisterFont{
ID: Font09x5,
Path: "proc-shared/Font09x5.dmd",
})
eng.Do(RegisterFont{
ID: Font09x6,
Path: "proc-shared/Font09x6.dmd",
})
eng.Do(RegisterFont{
ID: Font09x7,
Path: "proc-shared/Font09x7.dmd",
})
eng.Do(RegisterFont{
ID: Font14x8,
Path: "proc-shared/Font14x8.dmd",
})
eng.Do(RegisterFont{
ID: Font14x9,
Path: "proc-shared/Font14x9.dmd",
})
eng.Do(RegisterFont{
ID: Font14x10,
Path: "proc-shared/Font14x10.dmd",
})
eng.Do(RegisterFont{
ID: Font18x10,
Path: "proc-shared/Font18x10.dmd",
})
eng.Do(RegisterFont{
ID: Font18x11,
Path: "proc-shared/Font18x11.dmd",
})
eng.Do(RegisterFont{
ID: Font18x12,
Path: "proc-shared/Font18x12.dmd",
})
eng.Do(RegisterFont{
ID: FontPfArmaFive8,
Size: 8,
Path: "pf-fonts/pf_arma_five.ttf",
})
eng.Do(RegisterFont{
ID: FontPfRondaSeven8,
Size: 8,
Path: "pf-fonts/pf_ronda_seven.ttf",
})
eng.Do(RegisterFont{
ID: FontPfRondaSevenBold8,
Size: 8,
Path: "pf-fonts/pf_ronda_seven_bold.ttf",
})
eng.Do(RegisterFont{
ID: FontPfRondaSevenBold16,
Size: 16,
Path: "pf-fonts/pf_ronda_seven_bold.ttf",
})
eng.Do(RegisterFont{
ID: FontPfTempestaFive8,
Size: 8,
Path: "pf-fonts/pf_tempesta_five.ttf",
})
eng.Do(RegisterFont{
ID: FontPfTempestaFiveBold8,
Size: 8,
Path: "pf-fonts/pf_tempesta_five_bold.ttf",
})
eng.Do(RegisterFont{
ID: FontPfTempestaFiveCompressed8,
Size: 8,
Path: "pf-fonts/pf_tempesta_five_compressed.ttf",
})
eng.Do(RegisterFont{
ID: FontPfTempestaFiveCompressedBold8,
Size: 8,
Path: "pf-fonts/pf_tempesta_five_compressed_bold.ttf",
})
eng.Do(RegisterFont{
ID: FontPfTempestaFiveCondensed8,
Size: 8,
Path: "pf-fonts/pf_tempesta_five_condensed.ttf",
})
eng.Do(RegisterFont{
ID: FontPfTempestaFiveCondensedBold8,
Size: 8,
Path: "pf-fonts/pf_tempesta_five_condensed_bold.ttf",
})
eng.Do(RegisterFont{
ID: FontPfTempestaFiveExtended8,
Size: 8,
Path: "pf-fonts/pf_tempesta_five_extended.ttf",
})
eng.Do(RegisterFont{
ID: FontPfTempestaFiveExtendedBold8,
Size: 8,
Path: "pf-fonts/pf_tempesta_five_extended_bold.ttf",
})
}