0% found this document useful (0 votes)
32 views1 page

Announce Font

The document defines three lists: CharList, WidthList, and RectList, which contain characters, their corresponding widths, and rectangular dimensions respectively. It also creates a layer named 'Main' and sets its properties, including the image, ascent, character widths, and image map. This setup appears to be for a font rendering system.

Uploaded by

betthu2024
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views1 page

Announce Font

The document defines three lists: CharList, WidthList, and RectList, which contain characters, their corresponding widths, and rectangular dimensions respectively. It also creates a layer named 'Main' and sets its properties, including the image, ascent, character widths, and image map. This setup appears to be for a font rendering system.

Uploaded by

betthu2024
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Define CharList

( '!', '"', '#', '$', '%', '&', "'", '(', ')', '*', '+', ',', '-', '.', '/', '0',
'1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '<', '=', '>', '?', '@',
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '[', '\\', ']', '^', '_', '`',

'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p',
'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '{', '|', '}', '~');

Define WidthList
( 15, 15, 21, 22, 25, 26, 10, 14, 14, 20, 20, 12, 16, 13, 21, 22,

18, 25, 25, 28, 25, 25, 24, 22, 24, 13, 13, 15, 16, 15, 23, 23,

28, 25, 23, 24, 27, 26, 25, 28, 20, 23, 29, 24, 37, 26, 24, 25,

26, 32, 24, 27, 27, 29, 36, 28, 27, 28, 15, 21, 14, 16, 25, 12,

26, 24, 23, 25, 22, 24, 24, 26, 18, 22, 26, 15, 35, 25, 22, 23,

25, 24, 23, 25, 25, 26, 31, 27, 26, 26, 19, 10, 19, 18);

Define RectList
( (1771, 0, 14, 31), (2261, 0, 14, 31), (1815, 0, 20, 31), (1839, 0, 21, 31),
(1865, 0, 24, 31), (1912, 0, 25, 31), (2247, 0, 9, 31), (1964, 0, 13, 31),
(1983, 0, 13, 31), (1941, 0, 19, 31), (2068, 0, 19, 31), (2282, 0, 11, 31),
(2001, 0, 15, 31), (2318, 0, 12, 31), (2352, 0, 20, 31), (1462, 0, 21, 31),
(1488, 0, 17, 31), (1508, 0, 24, 31), (1535, 0, 24, 31), (1563, 0, 27, 31),
(1594, 0, 24, 31), (1624, 0, 24, 31), (1650, 0, 23, 31), (1675, 0, 21, 31),
(1700, 0, 23, 31), (2230, 0, 12, 31), (2212, 0, 12, 31), (2299, 0, 14, 31),
(2048, 0, 15, 31), (2334, 0, 14, 31), (2376, 0, 22, 31), (1789, 0, 22, 31),
( 0, 0, 27, 31), ( 30, 0, 24, 31), ( 59, 0, 22, 31), ( 86, 0, 23, 31),
( 113, 0, 26, 31), ( 141, 0, 25, 31), ( 169, 0, 24, 31), ( 196, 0, 27, 31),
( 226, 0, 19, 31), ( 248, 0, 22, 31), ( 274, 0, 28, 31), ( 305, 0, 23, 31),
( 331, 0, 36, 31), ( 372, 0, 25, 31), ( 401, 0, 23, 31), ( 428, 0, 24, 31),
( 457, 0, 25, 31), ( 483, 0, 31, 31), ( 518, 0, 23, 31), ( 544, 0, 26, 31),
( 574, 0, 26, 31), ( 602, 0, 28, 31), ( 635, 0, 35, 31), ( 674, 0, 27, 31),
( 705, 0, 26, 31), ( 734, 0, 27, 31), (2092, 0, 14, 31), (2170, 0, 20, 31),
(2132, 0, 13, 31), (1893, 0, 15, 31), (2020, 0, 24, 31), (1752, 0, 11, 31),
( 764, 0, 25, 31), ( 792, 0, 23, 31), ( 820, 0, 22, 31), ( 845, 0, 24, 31),
( 871, 0, 21, 31), ( 896, 0, 23, 31), ( 922, 0, 23, 31), ( 948, 0, 25, 31),
( 976, 0, 17, 31), ( 996, 0, 21, 31), (1020, 0, 25, 31), (1048, 0, 14, 31),
(1066, 0, 34, 31), (1104, 0, 24, 31), (1130, 0, 21, 31), (1155, 0, 22, 31),
(1181, 0, 24, 31), (1209, 0, 23, 31), (1235, 0, 22, 31), (1261, 0, 24, 31),
(1289, 0, 24, 31), (1315, 0, 25, 31), (1343, 0, 30, 31), (1376, 0, 26, 31),
(1406, 0, 25, 31), (1433, 0, 25, 31), (2110, 0, 18, 31), (2196, 0, 9, 31),
(2149, 0, 18, 31), (1727, 0, 17, 31));

CreateLayer Main;
LayerSetImage Main '../images/announcefont';
LayerSetAscent Main 24;
LayerSetCharWidths Main CharList WidthList;
LayerSetCharWidths Main (' ') (5);
LayerSetImageMap Main CharList RectList;

You might also like