Define CharList
: ^# H g$ N. w' U% P4 K+ d( '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '!', '$', '%', '-', '=', '+',# h5 Q6 a- ~1 ]! _+ F' d) o& e
':');8 z% X! j! t5 ~6 u5 _
# D2 {3 }; N( Y, `8 W
Define WidthList
1 T$ e& R% |8 x" h7 r( 73, 41, 67, 71, 68, 67, 71, 53, 80, 73, 39, 69, 71, 46, 46, 56,) O; p: \3 Y6 B, S5 c
35);
* y+ {+ _$ u2 z* ]' W; G) y/ b9 D& i* _2 k; L" @2 u
Define RectList( p9 h/ i9 |% o" k2 z. j2 _
( ( 0, 0, 87, 177), ( 88, 0, 55, 177), ( 144, 0, 83, 177), ( 228, 0, 87, 177), ) f' ^% u g$ V6 q% i
( 316, 0, 82, 177), ( 399, 0, 84, 177), ( 484, 0, 87, 177), ( 572, 0, 69, 177), $ X" X1 q: v8 t& M+ I- D
( 642, 0, 96, 177), ( 739, 0, 87, 177), ( 827, 0, 51, 177), ( 879, 0, 83, 177),
# U2 ?) S) Q- h1 T% T: J4 |. t( 0, 177, 85, 177), ( 86, 177, 61, 177), ( 148, 177, 61, 177), ( 210, 177, 71, 177),
7 S1 |/ ~" j' z9 q J/ d: w% y( 282, 177, 48, 177));% _/ c$ u, g$ V% o) B
) W" ]& k0 Y4 }
Define OffsetList
. c1 _0 ~5 T; q, u( N( (-11, 0), (-13, 0), (-13, 0), (-12, 0), (-11, 0), (-13, 0), (-12, 0), (-13, 0),# T' y" n- [$ @; b! u. r
(-12, 0), (-12, 0), (-10, 0), (-12, 0), (-10, 0), (-13, 0), (-13, 0), (-13, 0),
% N6 r2 T; C4 t. D: U(-12, 0));
- E# k9 j2 g2 L" l) c' ]: \) g/ p) ~9 Y: B& G
Define KerningPairs
8 g3 ~3 Q+ Z7 G/ P("34","67","78","89");, V9 P- C, d, j' ]8 K% J+ @
3 X* _) w% ~& |: Z
Define KerningValues ( -7, -8, -9, -9);4 K: M; q5 i) K+ g4 ~! b0 \& ~
: {9 k% D9 M4 n; e4 U- GCreateLayer Main; D7 _! v1 H% v1 F5 \, i' Q+ `
LayerSetImage Main 'wog150numbers';" l- u$ ]+ x3 ?" n+ F! \
LayerSetAscent Main 140;
! a- e3 K6 Y/ k) Q* rLayerSetCharWidths Main CharList WidthList;
- [! @- z" F& T. g5 qLayerSetCharWidths Main (' ') (47);. G/ D/ L8 T3 ^+ J: f2 b/ s% Q
LayerSetKerningPairs Main KerningPairs KerningValues;7 A9 x, Q7 f& d4 G7 M9 k& q! j n
LayerSetImageMap Main CharList RectList;
7 ?5 C B+ B4 M; @/ f. N: J. TLayerSetCharOffsets Main CharList OffsetList;
, H5 ]0 k+ m! H$ Y/ x. g% I- }4 `: b+ ELayerSetAscentPadding Main 14;7 @0 N! e- |& ]1 e
LayerSetLineSpacingOffset Main 14;
5 C" \7 H: b1 z) G4 aLayerSetPointSize Main 150;2 m9 E/ K7 @0 M Q) @
, p" b, U0 k5 e O; F( F; g& w. J, LSetDefaultPointSize 150; | 请访问“下载页面”查看 |