-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.go
103 lines (92 loc) · 2.54 KB
/
example.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
package vsofont
// Font based on example/example.vsofont
// http://www.villehelin.com/vsofont.html
//
var Example = MustParse(`
# file describing a 2D vector font
#
# a grid (and few indices):
0 ***** 4
5 ***** 9
10 ***** 14
15 ***** 19
20 ***** 24
JUMP!
GRID: 5 x 5
SPACING: 0.005
SCALING: 0.2 x 0.2
COLOR: 1.0 1.0 1.0 1.0
0 5 1 1 3 3 9 9 19 19 23 23 21 21 15 15 5 -1
1 2 22 20 24 6 7 -1
2 0 4 4 14 14 10 10 20 20 24 -1
3 0 4 4 24 24 20 10 14 -1
4 0 10 10 14 4 24 -1
5 4 0 0 10 10 13 13 19 19 23 23 20 -1
6 4 0 0 20 20 24 24 14 14 10 -1
7 0 4 4 22 -1
8 0 4 10 14 20 24 0 20 4 24 -1
9 0 4 4 14 14 10 10 0 14 24 24 20 -1
A 20 10 10 2 2 14 14 24 14 10 -1
B 0 20 20 23 23 19 19 13 13 10 13 9 9 3 3 0 -1
C 4 0 0 20 20 24 -1
D 0 20 20 23 23 19 19 9 9 3 3 0 -1
E 4 0 0 20 20 24 10 14 -1
F 4 0 0 20 10 14 -1
G 9 3 3 1 1 5 5 15 15 21 21 23 23 19 19 17 -1
H 0 20 4 24 10 14 -1
I 0 20 -1
J 4 19 19 23 23 20 -1
K 0 20 10 4 10 24 -1
L 0 20 20 23 -1
M 20 0 0 12 12 4 4 24 -1
N 20 0 0 24 24 4 -1
O 0 1 1 21 21 20 20 0 -1
P 20 0 0 3 3 13 13 10 -1
Q 5 1 1 3 3 9 9 19 19 23 23 21 21 15 15 5 15 14 -1
R 20 0 0 3 3 13 13 10 12 23 -1
S 4 0 0 10 10 14 14 24 24 20 -1
T 0 2 1 21 -1
U 0 20 20 24 24 4 -1
V 0 22 22 4 -1
W 0 21 21 12 12 23 23 4 -1
X 0 24 20 4 -1
Y 0 12 12 4 12 22 -1
Z 0 4 4 20 20 24 -1
a 11 13 11 15 15 20 20 22 22 18 13 18 18 24 -1
b 0 20 20 22 22 18 18 12 12 10 -1
c 13 11 11 15 15 21 21 23 -1
d 3 23 23 21 21 15 15 11 11 13 -1
e 15 18 18 12 12 11 11 15 15 21 21 23 -1
f 2 6 6 21 10 12 -1
g 13 11 11 6 6 8 8 18 18 22 22 21 -1
h 1 21 11 13 13 19 19 24 -1
i 2 3 12 22 -1
j 3 4 13 18 18 22 22 21 -1
k 1 21 9 12 12 11 12 24 -1
l 2 17 17 23 -1
m 20 15 15 11 11 17 17 22 17 13 13 19 19 24 -1
n 21 11 11 13 13 19 19 24 -1
o 11 13 13 19 19 24 24 21 21 11 -1
p 21 11 11 13 13 18 18 16 -1
q 18 16 16 11 11 13 13 23 23 24 -1
r 13 12 12 16 16 21 -1
s 13 11 11 16 16 18 18 23 23 21 -1
t 7 22 22 23 11 13 -1
u 11 21 21 23 23 13 -1
v 11 21 21 22 22 18 18 13 -1
w 10 15 15 21 21 17 17 12 17 23 23 19 19 14 -1
x 11 23 13 21 -1
y 12 17 17 18 13 23 23 21 -1
z 11 13 13 21 21 23 -1
- 10 14 -1
+ 10 14 2 22 -1
! 0 10 15 20 -1
. 16 18 18 23 23 21 21 16 -1
= 5 9 15 19 -1
: 16 17 17 22 22 21 21 16 1 2 2 7 7 6 6 1 -1
/ 20 4 -1
? 0 4 4 14 14 12 17 22 -1
, 20 16 -1
\1 5 1 1 3 3 9 9 19 19 23 23 21 21 15 15 5 -1
\2 2 22 20 24 6 7 -1
`)