游戏图片字库格式2 }1 z+ ~$ a& @4 ?
Define CharList+ K# b$ |. y' A: q5 G
( 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',$ }# s" f* v0 C3 n7 e3 \
'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f',0 c& ^# G" J4 z# X( F! p
'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v',3 N( O' p, |2 ~3 P6 f$ O, K
'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '~', '`',, w* j6 P) ~2 F3 R/ @- J. j$ F! l
'!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '-', '_', '=', '+', '[', '{',
& l: F% U, k9 K, l ']', '}', ';', ':',"'", '"', ',', '<', '.', '>', '/', '?', '?', '?', '?', '?',
1 o x. Z. X. B! f '?, '?, '?, '?', 'A', 'A', 'A', 'A', 'A', 'A', '?', 'C', 'E', 'E', 'E', 'E',0 E. \( X: X9 Z! V
'I', 'I', 'I', 'I', '?', 'N', 'O', 'O', 'O', 'O', 'O', 'O', 'U', 'U', 'U', 'U',/ b2 ], ^8 [5 `+ D o
'Y', '?', 'a', 'a', 'a', 'a', 'a', 'a', '?', 'c', 'e', 'e', 'e', 'e', 'i', 'i',$ z. [2 z2 X( P$ N5 G
'i', 'i', '?', 'n', 'o', 'o', 'o', 'o', 'o', 'o', 'u', 'u', 'u', 'u', 'y', 'y');2 G. a# W8 X! F
$ D6 y& q! P) x
Define WidthList0 a! N2 t! B- z9 P0 D0 d5 c6 c- ?6 w% ]
( 15, 15, 15, 15, 14, 13, 16, 16, 7, 13, 16, 13, 18, 16, 16, 14,
, P* E! @# R% n& H$ E 16, 15, 14, 14, 16, 15, 19, 15, 15, 14, 13, 13, 13, 13, 13, 7,+ `+ J& E6 N( c
13, 13, 6, 6, 13, 6, 19, 13, 13, 13, 13, 8, 12, 8, 13, 12,: g; x( T) b6 t1 A. p s/ i
18, 13, 12, 11, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 6,
* }% d6 E$ f. g2 i# f* w 6, 14, 13, 13, 19, 13, 17, 11, 7, 7, 6, 10, 13, 13, 7, 7,6 X4 S! R7 E b( J7 O9 x4 ^
7, 7, 6, 6, 5, 10, 6, 13, 6, 13, 5, 12, 12, 12, 12, 12,
% D' `7 R4 f, X" I7 D/ o8 n( v 13, 15, 15, 12, 15, 15, 15, 15, 15, 15, 12, 15, 14, 14, 14, 14,
: x' ]* X+ l* K9 K u 7, 7, 7, 7, 12, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,7 ~ ^( E* d, w8 c5 M
15, 12, 13, 13, 13, 13, 13, 13, 12, 13, 13, 13, 13, 13, 6, 6,
0 ^* [2 V6 {8 R5 x" | 6, 6, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 12, 12);
7 Y4 o/ J7 m+ V6 y6 @6 O8 v( T' P4 C# g
Define RectList M: x( h1 y! G! @
( ( 0, 0, 15, 27), ( 16, 0, 12, 27), ( 29, 0, 12, 27), ( 42, 0, 12, 27),
* B- H7 Z; D6 s ( 55, 0, 11, 27), ( 67, 0, 10, 27), ( 78, 0, 13, 27), ( 92, 0, 13, 27),4 Z* Z% ]) t; t! H# }; \ H
( 106, 0, 4, 27), ( 111, 0, 11, 27), ( 123, 0, 15, 27), ( 139, 0, 10, 27),
& P5 v3 U) b- I y8 z ( 150, 0, 15, 27), ( 166, 0, 13, 27), ( 180, 0, 13, 27), ( 194, 0, 11, 27),; v( a$ w; _% k- d! ]
( 206, 0, 14, 27), ( 221, 0, 13, 27), ( 235, 0, 11, 27), ( 247, 0, 12, 27),6 b& j5 ^+ I% J+ E, F( G9 r
( 260, 0, 13, 27), ( 274, 0, 15, 27), ( 290, 0, 19, 27), ( 310, 0, 15, 27),
6 j9 p/ _+ @% }( y" `: H3 v ( 326, 0, 14, 27), ( 341, 0, 11, 27), ( 353, 0, 12, 27), ( 366, 0, 11, 27),5 O. f: w- D' n7 X) M
( 378, 0, 11, 27), ( 390, 0, 11, 27), ( 402, 0, 11, 27), ( 414, 0, 8, 27),
( w& l* p" J: B; v ( 423, 0, 12, 27), ( 436, 0, 11, 27), ( 448, 0, 4, 27), ( 453, 0, 6, 27),
9 C6 c, d* v: ~9 N( O ( 460, 0, 12, 27), ( 473, 0, 4, 27), ( 478, 0, 16, 27), ( 495, 0, 11, 27),/ `1 K& r5 ?- x- ?4 b, z
( 507, 0, 11, 27), ( 519, 0, 11, 27), ( 531, 0, 11, 27), ( 543, 0, 8, 27),
5 \3 k0 x Y6 {% S ( 552, 0, 10, 27), ( 563, 0, 7, 27), ( 571, 0, 11, 27), ( 583, 0, 11, 27),
, I4 P5 Y4 p4 `& w ( 595, 0, 17, 27), ( 613, 0, 13, 27), ( 627, 0, 11, 27), ( 639, 0, 9, 27),
) q, S$ @) f. C2 g ( 649, 0, 10, 27), ( 660, 0, 8, 27), ( 669, 0, 10, 27), ( 680, 0, 10, 27),
8 M2 g1 W7 K$ p0 T5 P+ c ( 691, 0, 13, 27), ( 705, 0, 10, 27), ( 716, 0, 10, 27), ( 727, 0, 10, 27),
! z6 a3 p( ?3 s: e. M" A ( 738, 0, 10, 27), ( 749, 0, 10, 27), ( 760, 0, 11, 27), ( 772, 0, 5, 27),. v0 h0 C& h5 B9 \3 \
( 778, 0, 4, 27), ( 783, 0, 14, 27), ( 798, 0, 13, 27), ( 812, 0, 12, 27),
% E( l0 m' i3 Q- A* I1 f- M: S ( 825, 0, 17, 27), ( 843, 0, 10, 27), ( 854, 0, 15, 27), ( 870, 0, 8, 27),
2 o- _5 H5 C! [7 S4 v K8 F ( 879, 0, 5, 27), ( 885, 0, 5, 27), ( 891, 0, 6, 27), ( 898, 0, 10, 27),
9 Z/ z+ J4 @6 C" L0 [ ( 909, 0, 10, 27), ( 920, 0, 11, 27), ( 932, 0, 6, 27), ( 939, 0, 7, 27),3 ~' F! {' l, r% L, h2 ]1 V$ s
( 947, 0, 6, 27), ( 954, 0, 7, 27), ( 962, 0, 4, 27), ( 967, 0, 4, 27),
3 b0 E4 p6 G+ O+ \1 F; {' n ( 972, 0, 4, 27), ( 977, 0, 9, 27), ( 987, 0, 4, 27), ( 992, 0, 11, 27),
2 b4 ~5 g; I) e- x: N (1004, 0, 4, 27), (1009, 0, 11, 27), (1021, 0, 5, 27), (1027, 0, 11, 27),
( T: t8 C0 i$ S4 g8 g/ x5 { (1039, 0, 11, 27), (1051, 0, 11, 27), (1063, 0, 11, 27), (1075, 0, 11, 27), B2 ?% J# j* N" W9 \: _8 f6 d% o
(1087, 0, 11, 27), (1099, 0, 14, 27), (1114, 0, 14, 27), (1129, 0, 11, 27),& O" w3 s) W' a) s, t y
(1141, 0, 15, 27), (1157, 0, 15, 27), (1173, 0, 15, 27), (1189, 0, 15, 27),
* K+ i$ h* k2 r: F* M& R (1205, 0, 15, 27), (1221, 0, 15, 27), (1237, 0, 11, 27), (1249, 0, 12, 27),& ^7 S$ \9 Z. ~! m$ z `1 _( a$ J/ w" r
(1262, 0, 11, 27), (1274, 0, 11, 27), (1286, 0, 11, 27), (1298, 0, 11, 27),* s4 A1 _& e4 W" g9 P6 V. @: n
(1310, 0, 4, 27), (1315, 0, 4, 27), (1320, 0, 4, 27), (1325, 0, 4, 27),( I( U5 P" ^( n( v( K* k
(1330, 0, 11, 27), (1342, 0, 13, 27), (1356, 0, 13, 27), (1370, 0, 13, 27),5 m1 ~ f$ K4 p3 }
(1384, 0, 13, 27), (1398, 0, 13, 27), (1412, 0, 13, 27), (1426, 0, 13, 27),9 V$ u' v+ B7 Q! Q( o2 g
(1440, 0, 13, 27), (1454, 0, 13, 27), (1468, 0, 13, 27), (1482, 0, 13, 27),
; l( n0 x) ~ e5 |8 a7 e (1496, 0, 14, 27), (1511, 0, 11, 27), (1523, 0, 12, 27), (1536, 0, 12, 27),
" {3 Y2 v: ^' B! e* ]5 x& |, X. Y: H1 b (1549, 0, 12, 27), (1562, 0, 12, 27), (1575, 0, 12, 27), (1588, 0, 12, 27),9 O$ W! O5 ~7 T# f
(1601, 0, 11, 27), (1613, 0, 11, 27), (1625, 0, 11, 27), (1637, 0, 11, 27),
4 ]$ P- T) l) t; p4 i (1649, 0, 11, 27), (1661, 0, 11, 27), (1673, 0, 4, 27), (1678, 0, 4, 27),
$ c: B: x5 y0 B& u$ g (1683, 0, 4, 27), (1688, 0, 4, 27), (1693, 0, 11, 27), (1705, 0, 11, 27),
. ?8 o) s2 g2 C (1717, 0, 11, 27), (1729, 0, 11, 27), (1741, 0, 11, 27), (1753, 0, 11, 27),+ X8 q; K+ Q" R
(1765, 0, 11, 27), (1777, 0, 11, 27), (1789, 0, 11, 27), (1801, 0, 11, 27),1 ^; {3 V: o; {/ a
(1813, 0, 11, 27), (1825, 0, 11, 27), (1837, 0, 11, 27), (1849, 0, 11, 27));9 t8 A1 W& u! S0 x! @
* m( I: k! p+ o: K( M W/ ?8 S: _
Define OffsetList
6 C6 ^6 _9 F7 R; ?. F! a! A ( ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),
3 M. `) o& U" L% ?# \+ S, ~% Z ( 1, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),
7 I9 N% ?% n, P1 c ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 0, 0), ( 0, 0), ( 0, 0),
# E- g$ S" v) q5 p* ^ I ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 0, 0),) K s% u7 C" X2 A3 Q
( 1, 0), ( 1, 0), ( 1, 0), (-1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),
, j$ ~8 O/ w+ x, _ ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 0, 0), ( 1, 0), ( 0, 0),- J9 D9 [, K, f8 r5 j
( 0, 0), ( 0, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 2, 0), ( 1, 0), ( 1, 0),
) e. t5 \. U" X" D1 v) ? ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 0, 0),
- t1 y$ [- @0 T+ ]3 l ( 1, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),
% S' w! Z9 [3 p; G1 J: _ ( 1, 0), ( 1, 0), ( 0, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 0, 0),5 }) v/ Z$ u3 j4 e5 N
( 0, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 0, 0), ( 0, 0), ( 1, 0), ( 1, 0),; z) }/ i1 x* G% Q' A0 w! v7 M
( 1, 0), ( 1, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0),
" o1 [% u$ P- ?$ O/ s ( 1, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0),; I8 ^& x; c' j4 Z* G
( 0, 0), ( 0, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),
' d, \" K ?, o1 X: Y ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0),# o. s4 Q2 b1 b+ m" S
( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),/ \& x& W6 R, e/ F4 u
( 0, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),3 w. u5 m$ ?4 ~5 v3 v# {: f
( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),3 R% Z9 U; r) k, C! _
( 1, 0), ( 1, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0)," M0 s7 g# }/ n) B/ _: h" k7 D$ c
( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 0, 0), ( 0, 0));
7 M5 I3 s1 G( A- W, v; m7 h0 K: [
+ D1 y& X+ j+ a1 D; ?. ^2 K# JDefine KerningPairs0 f4 q. f: `. v; s" o* @/ \
("AT","AU","AV","AY","DA","DV","DY","F,","F.","FA","Fe","Fo","Fr","KC","KG","KO",4 R- }: E( C6 i8 ~) s6 |
"Ke","Ko","LT","LV","LY","OA","OV","OX","OY","P,","P.","PA","Q,","QV","QY","RY",
2 o2 [ E$ n! D "T,","T-","T.","T:","T;","TA","TC","TG","TO","TQ","Ta","Tc","Te","Th","Tm","To",# L( Y: V1 I. }- ]) O2 @4 c
"Tr","Ts","Tu","Tz","U.","UA","V,","V-","V.","VA","VC","VG","VO","VQ","Va","Ve",, l0 V$ }( \' j# e
"Vo","Vr","Vu","W,","W.","Wh","Wi","XC","XG","XO","Y,","Y-","Y.","Y:","Y;","YA",1 w. \! _$ `1 E7 c, P
"YC","YG","YO","YS","Ya","Yd","Ye","Yo","Yp","Yq","Yu","f!","f,","f.","f?","ke",' R. k" s F! j4 v- h# S- w4 r
"ko","nv","ov","ox","r,","r.","r:","r;","rj","rk","rl","rm","rn","rp","rr","rt",( Z; D: v3 B% b
"ru","rv","ry","v,","v.","w,","w.","y,","y.");2 J5 R6 s' [. D% I& b9 K- ^
; A/ y, N( _- V+ B; J n5 S
Define KerningValues
2 V6 ]# @7 C# \ [% k& k U/ b$ F
$ T: l- a! _& Q) |" f' Y1 m' E ( -1, -1, -1, -2, -1, -1, -1, -3, -3, -2, -1, -1, -1, -1, -1, -1,+ n) B, m6 S/ w& X
% F5 Z0 I; E) p3 a% O" t' ~
-1, -1, -1, -1, -1, -1, -1, -1, -1, -3, -4, -2, 1, -1, -1, -1,% r9 c- K4 p/ x9 q x
" c: c. ?! L/ J8 C, _
-3, -1, -3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, -1, -1,
" }- f) r0 f1 [0 o1 _& X. U% `. H' Q7 }+ m( ` L. j7 C
-1, -1, -1, -1, -1, -1, -2, -1, -2, -1, -1, -1, -1, -1, -1, -1,
6 G, ^( l& @# F0 J/ w$ i! Y
# Y6 A$ `9 F- D0 P E, }% u$ g1 B -1, -1, -1, -1, -1, 1, 1, -1, -1, -1, -3, -2, -3, -1, -1, -2,
% E) w' F8 L* X! o3 u
% j. ]" @% |/ O6 o3 G -1, -1, -1, -1, -2, -2, -2, -2, -1, -2, -1, 2, -1, -1, 2, -1,
. e" q; [2 Z0 s) Q
$ \" T# |& V, E; h- x -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
. K& E4 q% {, R: a
, `+ `! i0 I" y$ R 1, 1, 1, -2, -2, -1, -2, -2, -2);
% q$ z8 w8 [8 `+ H+ l ~ n/ W5 h$ f' [6 n- g! i) E
CreateLayer Main;" H7 {+ d6 a! ]8 e
LayerSetImage Main 'ArialBlack14';
3 |4 l; C+ M4 E4 M4 r/ ^& X% zLayerSetAscent Main 21;
" ^; @1 u3 J% I2 R8 NLayerSetCharWidths Main CharList WidthList;
$ n) E/ R: p3 C. V' Q4 J# aLayerSetCharWidths Main (' ') (6);2 e% s+ x9 y2 }; C: s
LayerSetKerningPairs Main KerningPairs KerningValues;
' P! W0 e. n! B- S: LLayerSetImageMap Main CharList RectList;9 @/ \3 e' M- i& m7 d1 ^5 G2 S! J
LayerSetCharOffsets Main CharList OffsetList;
( S: ?2 C( h* f! s# L/ `7 w, XLayerSetAscentPadding Main 0;
6 y# N5 m% g3 I* ]' ZLayerSetLineSpacingOffset Main 0;1 {; }+ n1 i/ x* b n. ~
LayerSetPointSize Main 14; g! F4 I4 f2 ?# Z3 @
9 ]' }2 `& Q- k# d! U8 Q, z% d
SetDefaultPointSize 14;
5 U }/ j' ?5 H" j) ?' L6 b |