游戏图片字库格式
# {/ v% U$ z a, TDefine CharList
0 K0 m) G: H- ? ( 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
5 Z6 X* F3 V7 Q; q- x T h 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f',
& A6 t ~+ X5 Y2 _# q 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v'," d8 Z: k6 E$ H" O+ u8 o, p
'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '~', '`',/ R5 U- c% o% R' M8 n8 r4 \1 b
'!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '-', '_', '=', '+', '[', '{',
! [+ V- f! T/ |' u ']', '}', ';', ':',"'", '"', ',', '<', '.', '>', '/', '?', '?', '?', '?', '?',
, K2 V+ N) l! }4 ^; O '?, '?, '?, '?', 'A', 'A', 'A', 'A', 'A', 'A', '?', 'C', 'E', 'E', 'E', 'E',
, t$ G3 ?' [/ `* J3 {, H7 W, Z& H 'I', 'I', 'I', 'I', '?', 'N', 'O', 'O', 'O', 'O', 'O', 'O', 'U', 'U', 'U', 'U',7 Y ~' c9 a$ p$ x& @
'Y', '?', 'a', 'a', 'a', 'a', 'a', 'a', '?', 'c', 'e', 'e', 'e', 'e', 'i', 'i',
, J! k1 o ?: H0 @ 'i', 'i', '?', 'n', 'o', 'o', 'o', 'o', 'o', 'o', 'u', 'u', 'u', 'u', 'y', 'y');4 W, D' U8 P0 ~' d% M3 H( P6 I
2 o' E. F, x2 B* z
Define WidthList
2 F# j/ {7 ^, S8 a$ \/ t$ S/ w ( 15, 15, 15, 15, 14, 13, 16, 16, 7, 13, 16, 13, 18, 16, 16, 14,$ M' ?0 ~+ u, g4 J, {; j" |+ a% J
16, 15, 14, 14, 16, 15, 19, 15, 15, 14, 13, 13, 13, 13, 13, 7,
, V6 t$ x5 x7 @; N5 i) z3 |; ^ 13, 13, 6, 6, 13, 6, 19, 13, 13, 13, 13, 8, 12, 8, 13, 12,
9 y2 h' m. E/ @; o0 a 18, 13, 12, 11, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 6,
. P! c% D6 O! o) N 6, 14, 13, 13, 19, 13, 17, 11, 7, 7, 6, 10, 13, 13, 7, 7,: f J+ \, |: {. W! v9 o
7, 7, 6, 6, 5, 10, 6, 13, 6, 13, 5, 12, 12, 12, 12, 12,
1 T/ ]1 Y9 H% Q5 ~) V% Q' h8 U 13, 15, 15, 12, 15, 15, 15, 15, 15, 15, 12, 15, 14, 14, 14, 14,
5 S: h) E6 X1 ]2 I3 ] 7, 7, 7, 7, 12, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,. J# F B9 a; y1 Z/ G! O
15, 12, 13, 13, 13, 13, 13, 13, 12, 13, 13, 13, 13, 13, 6, 6,! {: C7 _ [) U6 o) K
6, 6, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 12, 12);7 E$ Z$ s1 P) K9 i/ D% f' g4 N2 n, v
5 E1 t. E: e$ r, ^ [/ U5 jDefine RectList2 j, D; y! A" E5 m. n0 q2 P
( ( 0, 0, 15, 27), ( 16, 0, 12, 27), ( 29, 0, 12, 27), ( 42, 0, 12, 27),
5 r; Q) z4 j3 ^! N+ ]" g- Q A ( 55, 0, 11, 27), ( 67, 0, 10, 27), ( 78, 0, 13, 27), ( 92, 0, 13, 27),
4 q' h/ a" j; R8 t ( 106, 0, 4, 27), ( 111, 0, 11, 27), ( 123, 0, 15, 27), ( 139, 0, 10, 27),
0 D5 I4 J, A D3 u/ q$ ]5 D ( 150, 0, 15, 27), ( 166, 0, 13, 27), ( 180, 0, 13, 27), ( 194, 0, 11, 27),
: M+ a" D0 W; `( Z' ?5 ^ ( 206, 0, 14, 27), ( 221, 0, 13, 27), ( 235, 0, 11, 27), ( 247, 0, 12, 27),8 m$ {8 X, v: s0 z3 C5 t
( 260, 0, 13, 27), ( 274, 0, 15, 27), ( 290, 0, 19, 27), ( 310, 0, 15, 27),. n% E+ \) c m" k/ g4 k% k
( 326, 0, 14, 27), ( 341, 0, 11, 27), ( 353, 0, 12, 27), ( 366, 0, 11, 27),
' K% N, O5 y" z: \" z6 p! l8 u ( 378, 0, 11, 27), ( 390, 0, 11, 27), ( 402, 0, 11, 27), ( 414, 0, 8, 27),
6 h0 T! l" c6 D+ q0 d! @9 E ~ ( 423, 0, 12, 27), ( 436, 0, 11, 27), ( 448, 0, 4, 27), ( 453, 0, 6, 27),' O n1 t# s' J* i/ s
( 460, 0, 12, 27), ( 473, 0, 4, 27), ( 478, 0, 16, 27), ( 495, 0, 11, 27),9 X: Y: N" ~. l$ u) S
( 507, 0, 11, 27), ( 519, 0, 11, 27), ( 531, 0, 11, 27), ( 543, 0, 8, 27),
( ^, y7 z6 ~4 r# I# L ( 552, 0, 10, 27), ( 563, 0, 7, 27), ( 571, 0, 11, 27), ( 583, 0, 11, 27),! a2 |& u9 F$ q" c& E
( 595, 0, 17, 27), ( 613, 0, 13, 27), ( 627, 0, 11, 27), ( 639, 0, 9, 27),
- j( `2 y# Z1 k$ t5 f ( 649, 0, 10, 27), ( 660, 0, 8, 27), ( 669, 0, 10, 27), ( 680, 0, 10, 27),$ u) m# D# V3 i4 O2 _6 u
( 691, 0, 13, 27), ( 705, 0, 10, 27), ( 716, 0, 10, 27), ( 727, 0, 10, 27),
# C* V; J4 }: l ( 738, 0, 10, 27), ( 749, 0, 10, 27), ( 760, 0, 11, 27), ( 772, 0, 5, 27),
# ]& Y* `! T! d) C' @+ G2 x7 x0 ] ( 778, 0, 4, 27), ( 783, 0, 14, 27), ( 798, 0, 13, 27), ( 812, 0, 12, 27),& @4 V; j8 _+ K, E
( 825, 0, 17, 27), ( 843, 0, 10, 27), ( 854, 0, 15, 27), ( 870, 0, 8, 27),
n" e. j1 O+ l5 R ( 879, 0, 5, 27), ( 885, 0, 5, 27), ( 891, 0, 6, 27), ( 898, 0, 10, 27),
7 V: ~0 B% ~# f2 ^2 t ( 909, 0, 10, 27), ( 920, 0, 11, 27), ( 932, 0, 6, 27), ( 939, 0, 7, 27),
/ p" R: p0 j2 x1 e4 l ( 947, 0, 6, 27), ( 954, 0, 7, 27), ( 962, 0, 4, 27), ( 967, 0, 4, 27),
( l! ~/ N! q: M. C1 j ( 972, 0, 4, 27), ( 977, 0, 9, 27), ( 987, 0, 4, 27), ( 992, 0, 11, 27),
9 n0 C8 m" i1 Y: P5 d5 ` (1004, 0, 4, 27), (1009, 0, 11, 27), (1021, 0, 5, 27), (1027, 0, 11, 27),8 {3 w* t& m: y- A4 p) H) }) f, p
(1039, 0, 11, 27), (1051, 0, 11, 27), (1063, 0, 11, 27), (1075, 0, 11, 27),
$ K& `/ [ P7 _ m (1087, 0, 11, 27), (1099, 0, 14, 27), (1114, 0, 14, 27), (1129, 0, 11, 27),& h) s# _! h; }; q+ B, y H3 k
(1141, 0, 15, 27), (1157, 0, 15, 27), (1173, 0, 15, 27), (1189, 0, 15, 27),
' I0 Z% [! f2 { (1205, 0, 15, 27), (1221, 0, 15, 27), (1237, 0, 11, 27), (1249, 0, 12, 27),
' y4 M, _9 {! I* F (1262, 0, 11, 27), (1274, 0, 11, 27), (1286, 0, 11, 27), (1298, 0, 11, 27),
3 ^1 j0 |( n- x4 [9 A (1310, 0, 4, 27), (1315, 0, 4, 27), (1320, 0, 4, 27), (1325, 0, 4, 27),
! g$ H) I4 E/ K4 K$ f+ @4 P8 h; F (1330, 0, 11, 27), (1342, 0, 13, 27), (1356, 0, 13, 27), (1370, 0, 13, 27),' a$ J. p- M5 s# B1 T
(1384, 0, 13, 27), (1398, 0, 13, 27), (1412, 0, 13, 27), (1426, 0, 13, 27),. r* p$ B: @/ c7 I
(1440, 0, 13, 27), (1454, 0, 13, 27), (1468, 0, 13, 27), (1482, 0, 13, 27),
. W, m3 _+ ~' |8 ]2 Z6 S- o" p% | (1496, 0, 14, 27), (1511, 0, 11, 27), (1523, 0, 12, 27), (1536, 0, 12, 27),
' g. ?$ h3 t/ c$ S1 f* g* Q (1549, 0, 12, 27), (1562, 0, 12, 27), (1575, 0, 12, 27), (1588, 0, 12, 27),
9 x: I1 c5 R. O$ c/ w (1601, 0, 11, 27), (1613, 0, 11, 27), (1625, 0, 11, 27), (1637, 0, 11, 27),
% N' s7 @$ b$ c0 x (1649, 0, 11, 27), (1661, 0, 11, 27), (1673, 0, 4, 27), (1678, 0, 4, 27),
4 Z+ a$ k' a# f& B. `' _6 U) J$ ^ (1683, 0, 4, 27), (1688, 0, 4, 27), (1693, 0, 11, 27), (1705, 0, 11, 27),2 ~4 A% H; \/ I( A; z
(1717, 0, 11, 27), (1729, 0, 11, 27), (1741, 0, 11, 27), (1753, 0, 11, 27),
+ I8 h5 O5 b) q; e/ \ (1765, 0, 11, 27), (1777, 0, 11, 27), (1789, 0, 11, 27), (1801, 0, 11, 27), X' \, c2 y; P! O: G
(1813, 0, 11, 27), (1825, 0, 11, 27), (1837, 0, 11, 27), (1849, 0, 11, 27));5 {- O# @6 q! ?& ?4 e
2 [6 l$ ^( J; W( c* h8 r; v6 z
Define OffsetList2 v8 x5 H3 K& |, a
( ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),4 h( s$ w4 L5 G h+ z
( 1, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),
# w+ k5 J/ m0 {5 j ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 0, 0), ( 0, 0), ( 0, 0),, T+ j, z V& i& _1 b* K
( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 0, 0),
& c% x' H$ h+ h" T ( 1, 0), ( 1, 0), ( 1, 0), (-1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),
. M# r: {! n) J1 T* V: b" b ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 0, 0), ( 1, 0), ( 0, 0),
4 K) ]& Y+ l3 |- h! `) S7 O* ` ( 0, 0), ( 0, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 2, 0), ( 1, 0), ( 1, 0),6 d# d# O3 O- d1 K3 N. y, d
( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 0, 0),
# [. f7 M) X# ?& `! i$ I ( 1, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),9 g4 l4 a/ h v+ ]( m9 u3 o
( 1, 0), ( 1, 0), ( 0, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 0, 0),
6 D6 n; I' h9 \8 k u ( 0, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 0, 0), ( 0, 0), ( 1, 0), ( 1, 0),
- L% m4 a1 ]) s, t8 F ( 1, 0), ( 1, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0),
4 l; F1 t0 O( O# G3 o, s ( 1, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0), ( 0, 0),5 u' W3 v; ?9 ^5 m3 f" m
( 0, 0), ( 0, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),
- i# l$ b, @; m) O _$ o( c ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0),
+ _) `6 S. b' M" U8 P) t; P: Y0 A ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),
* C3 c4 h. _6 Q+ k2 Y6 E( a1 j ( 0, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),
, ^9 ~* {, e' X' z* k# ^ ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),' F6 k* c: S% E$ ^! f
( 1, 0), ( 1, 0), ( 0, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0),+ a4 U% e4 s$ G# b3 j1 s
( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 1, 0), ( 0, 0), ( 0, 0));. q" k. |! U. y$ x9 R
. W" V. ?* {+ q6 `/ f( d. \Define KerningPairs
& h0 w' v) i1 J# i D) U( ` ("AT","AU","AV","AY","DA","DV","DY","F,","F.","FA","Fe","Fo","Fr","KC","KG","KO",
9 ?* T% a& K3 j% |) R. j "Ke","Ko","LT","LV","LY","OA","OV","OX","OY","P,","P.","PA","Q,","QV","QY","RY"," \% e& A% d& V' M! a) k! [
"T,","T-","T.","T:","T;","TA","TC","TG","TO","TQ","Ta","Tc","Te","Th","Tm","To",) z# F z* ]& b& j7 ~
"Tr","Ts","Tu","Tz","U.","UA","V,","V-","V.","VA","VC","VG","VO","VQ","Va","Ve",
: u0 ~8 } h1 R "Vo","Vr","Vu","W,","W.","Wh","Wi","XC","XG","XO","Y,","Y-","Y.","Y:","Y;","YA"," C3 ^ a) j& g
"YC","YG","YO","YS","Ya","Yd","Ye","Yo","Yp","Yq","Yu","f!","f,","f.","f?","ke",
9 G8 a5 f+ m1 k2 h "ko","nv","ov","ox","r,","r.","r:","r;","rj","rk","rl","rm","rn","rp","rr","rt",
1 C/ l! R. m5 n. t" K2 ^ "ru","rv","ry","v,","v.","w,","w.","y,","y.");" c7 I% P$ p2 W6 j, O0 `
/ j3 O2 {/ _8 L" j
Define KerningValues
- U7 E+ S" A9 [. ^; E& Q: Z
c1 b9 T/ k6 c8 { ( -1, -1, -1, -2, -1, -1, -1, -3, -3, -2, -1, -1, -1, -1, -1, -1,, c' h; L1 m' c3 p2 {* L4 H
, B/ h- G8 U# b, j9 s, d
-1, -1, -1, -1, -1, -1, -1, -1, -1, -3, -4, -2, 1, -1, -1, -1,' [0 b! m) n! ?2 Q
( U: M* G( _' ~
-3, -1, -3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, -1, -1,: H4 r, F7 K2 ~
% X& m; s* o% Q. ~ H -1, -1, -1, -1, -1, -1, -2, -1, -2, -1, -1, -1, -1, -1, -1, -1,% F& Q4 B. o5 I, g' x% R) d2 c! @
& S5 y5 g; e9 _
-1, -1, -1, -1, -1, 1, 1, -1, -1, -1, -3, -2, -3, -1, -1, -2,
- ?1 R& C; i' F2 D- J; t2 T9 X. v6 _; \" p) `/ ?0 r) g8 }% [$ z
-1, -1, -1, -1, -2, -2, -2, -2, -1, -2, -1, 2, -1, -1, 2, -1,
1 S, ~0 Y# H1 S6 P5 Y- w. A& N4 o9 X0 U8 n0 d$ \6 V$ I
-1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
y1 ]$ S2 }7 ^- u* M2 [& A9 {$ y' W
1, 1, 1, -2, -2, -1, -2, -2, -2); U2 J, Z; D! `+ E: E' W e' C; Z- J
7 R4 w8 ^ ^& L4 kCreateLayer Main;% j' L' q m' H( l: e# G0 Q
LayerSetImage Main 'ArialBlack14';
1 z# x0 \- h+ F- JLayerSetAscent Main 21; q- I3 l5 {- q
LayerSetCharWidths Main CharList WidthList;
4 I# |8 A) T! }5 C) z$ A4 LLayerSetCharWidths Main (' ') (6);8 i/ O$ y( X! F5 r! O- W5 c
LayerSetKerningPairs Main KerningPairs KerningValues;
6 W9 i9 m. |4 _4 ]" KLayerSetImageMap Main CharList RectList;
- f6 b1 c5 Y3 `3 h+ l8 hLayerSetCharOffsets Main CharList OffsetList;
' D4 o8 y* X* K9 wLayerSetAscentPadding Main 0;
' g. w) U, F+ R# [3 F8 _2 U& n1 sLayerSetLineSpacingOffset Main 0;
' M& H, r* V3 `) o1 {. [0 lLayerSetPointSize Main 14;8 H. Y6 z" A/ F7 ]5 l
4 z" ]; p' P/ J
SetDefaultPointSize 14;& t- w" E" k2 z) J2 W% P5 J
|