Define CharList
' f& ^0 ]8 j) \8 w, K1 S( '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '!', '$', '%', '-', '=', '+',
% Z; e5 ^' N2 d. a':');
8 J" d. ^! j. _/ _
& e3 m! F! x6 M- H6 B$ v2 v3 t' MDefine WidthList
" S: |% k& l, s3 O( l* x( 73, 41, 67, 71, 68, 67, 71, 53, 80, 73, 39, 69, 71, 46, 46, 56,; c, k" e' S0 n) N
35);
( U% i; z0 n; q$ @1 T) I% W/ y2 b+ ?. I
Define RectList/ ]( n! g! g% k9 L, ?9 ?
( ( 0, 0, 87, 177), ( 88, 0, 55, 177), ( 144, 0, 83, 177), ( 228, 0, 87, 177),
9 c; B3 S; A I( 316, 0, 82, 177), ( 399, 0, 84, 177), ( 484, 0, 87, 177), ( 572, 0, 69, 177),
3 d: T. T, q# i7 g' o( 642, 0, 96, 177), ( 739, 0, 87, 177), ( 827, 0, 51, 177), ( 879, 0, 83, 177), 0 S+ N2 i( ?9 ]& {
( 0, 177, 85, 177), ( 86, 177, 61, 177), ( 148, 177, 61, 177), ( 210, 177, 71, 177), , u, D T& ] `7 u
( 282, 177, 48, 177));- B# M8 e; c& f* a
; p0 C, v' o" F: g% b
Define OffsetList- Y! S$ j3 O+ D% F8 A
( (-11, 0), (-13, 0), (-13, 0), (-12, 0), (-11, 0), (-13, 0), (-12, 0), (-13, 0),* q9 C" D# q7 @$ L
(-12, 0), (-12, 0), (-10, 0), (-12, 0), (-10, 0), (-13, 0), (-13, 0), (-13, 0),% H7 M0 W W# l1 M7 ~; u
(-12, 0));
( y7 w, o. @- t0 O/ d0 G( g
5 Q' D+ F: d$ |% o& W' N1 L6 gDefine KerningPairs- S7 m4 ]* A* I1 i! k: I N; d3 Y! }
("34","67","78","89");
2 I( }# ?% Y3 f/ Q% ?
7 p5 _" B" a& Y! t! mDefine KerningValues ( -7, -8, -9, -9);) n9 y0 j0 }! ~ R0 D
8 }" t1 l3 T6 R8 t6 k6 h5 I0 |1 j
CreateLayer Main;) u5 ^4 ]% l$ c5 a9 Q0 S0 c
LayerSetImage Main 'wog150numbers';4 @+ Q9 n: x, Y3 o4 ^9 c
LayerSetAscent Main 140;6 N' E: {! W) J
LayerSetCharWidths Main CharList WidthList;+ }6 ~/ {. r4 n1 G! I' a
LayerSetCharWidths Main (' ') (47);; N% C! Z5 W) W( H& z8 \
LayerSetKerningPairs Main KerningPairs KerningValues;
/ d& O. C7 v7 T$ Z5 L% j6 eLayerSetImageMap Main CharList RectList;
4 Q6 L$ @$ c3 C4 o3 g2 hLayerSetCharOffsets Main CharList OffsetList;
( p1 Y; M. \8 m kLayerSetAscentPadding Main 14;$ o$ I1 Z% Q. D+ O
LayerSetLineSpacingOffset Main 14;: F* W0 V0 T3 W" h2 {7 M$ s7 A4 i
LayerSetPointSize Main 150;3 Z$ @) A' o. e$ [
# J8 e% x6 b0 @9 Z+ d2 L% aSetDefaultPointSize 150; | 请访问“下载页面”查看 |