1: 2: struct { 3: int name; 4: int ctval; 5: } font[102] { 6: 'h',2, 7: 't',2, 8: 'n',0, 9: 'm',0, 10: 'l',2, 11: 'i',2, 12: 'z',0, 13: 's',0, 14: 'd',2, 15: 'b',2, 16: 'x',0, 17: 'f',2, 18: 'j',3, 19: 'u',0, 20: 'k',2, 21: 'p',1, 22: 'em',0, 23: ';',0, 24: 'a',0, 25: 'ru',0, 26: 'c',0, 27: '`',0, 28: 'e',0, 29: '\'',0, 30: 'o',0, 31: '14',0, 32: 'r',0, 33: '12',0, 34: 'v',0, 35: 'hy',0, 36: 'w',0, 37: 'q',1, 38: '/',0, 39: '.',0, 40: 'g',1, 41: '34',0, 42: ',',0, 43: '&',0, 44: 'y',1, 45: '%',0, 46: 'Q',3, 47: 'T',2, 48: 'O',2, 49: 'H',2, 50: 'N',2, 51: 'M',2, 52: 'L',2, 53: 'R',2, 54: 'G',2, 55: 'I',2, 56: 'P',2, 57: 'C',2, 58: 'V',2, 59: 'E',2, 60: 'Z',2, 61: 'D',2, 62: 'B',2, 63: 'S',2, 64: 'Y',2, 65: 'F',2, 66: 'X',2, 67: 'A',2, 68: 'W',2, 69: 'J',2, 70: 'U',2, 71: 'K',2, 72: '0',2, 73: '1',2, 74: '2',2, 75: '3',2, 76: '4',2, 77: '5',2, 78: '6',2, 79: '7',2, 80: '8',2, 81: '9',2, 82: '*',0, 83: '--',0, 84: 'fi',0, 85: 'fl',0, 86: 'ff',0, 87: 'ct',0, 88: 'Fl',0, 89: 'Fi',0, 90: '(',0, 91: ')',0, 92: '[',0, 93: ']',0, 94: 'de',0, 95: 'dg',0, 96: '=',0, 97: 'rg',0, 98: ':',0, 99: '+',0, 100: '!',0, 101: 'bu',0, 102: '?',0, 103: 'fm',0, 104: '|',0, 105: 'co',0, 106: 'sq',0, 107: '$',0}; 108: char *nametab[256-32] { 109: "/*space*/", 110: "/*!*/", 111: "/*\"*/", 112: "/*#*/", 113: "/*$*/", 114: "/*%*/", 115: "/*&*/", 116: "/*' close*/", 117: "/*(*/", 118: "/*)*/", 119: "/***/", 120: "/*+*/", 121: "/*,*/", 122: "/*- hyphen*/", 123: "/*.*/", 124: "/*/*/", 125: "/*0*/", 126: "/*1*/", 127: "/*2*/", 128: "/*3*/", 129: "/*4*/", 130: "/*5*/", 131: "/*6*/", 132: "/*7*/", 133: "/*8*/", 134: "/*9*/", 135: "/*:*/", 136: "/*;*/", 137: "/*<*/", 138: "/*=*/", 139: "/*>*/", 140: "/*?*/", 141: "/*@*/", 142: "/*A*/", 143: "/*B*/", 144: "/*C*/", 145: "/*D*/", 146: "/*E*/", 147: "/*F*/", 148: "/*G*/", 149: "/*H*/", 150: "/*I*/", 151: "/*J*/", 152: "/*K*/", 153: "/*L*/", 154: "/*M*/", 155: "/*N*/", 156: "/*O*/", 157: "/*P*/", 158: "/*Q*/", 159: "/*R*/", 160: "/*S*/", 161: "/*T*/", 162: "/*U*/", 163: "/*V*/", 164: "/*W*/", 165: "/*X*/", 166: "/*Y*/", 167: "/*Z*/", 168: "/*[*/", 169: "/*\\*/", 170: "/*]*/", 171: "/*^*/", 172: "/*_*/", 173: "/*` open*/", 174: "/*a*/", 175: "/*b*/", 176: "/*c*/", 177: "/*d*/", 178: "/*e*/", 179: "/*f*/", 180: "/*g*/", 181: "/*h*/", 182: "/*i*/", 183: "/*j*/", 184: "/*k*/", 185: "/*l*/", 186: "/*m*/", 187: "/*n*/", 188: "/*o*/", 189: "/*p*/", 190: "/*q*/", 191: "/*r*/", 192: "/*s*/", 193: "/*t*/", 194: "/*u*/", 195: "/*v*/", 196: "/*w*/", 197: "/*x*/", 198: "/*y*/", 199: "/*z*/", 200: "/*{*/", 201: "/*|*/", 202: "/*}*/", 203: "/*~*/", 204: "/*narrow space*/", 205: "/*hyphen*/", 206: "/*bullet*/", 207: "/*square*/", 208: "/*3/4 em*/", 209: "/*rule*/", 210: "/*1/4*/", 211: "/*1/2*/", 212: "/*3/4*/", 213: "/*minus*/", 214: "/*fi*/", 215: "/*fl*/", 216: "/*ff*/", 217: "/*ffi*/", 218: "/*ffl*/", 219: "/*degree*/", 220: "/*dagger*/", 221: "/*section*/", 222: "/*foot mark*/", 223: "/*'*/", 224: "/*`*/", 225: "/*_*/", 226: 0, 227: "/*half nar sp*/", 228: 0, 229: 0,0,0,0,0,0,0,0, 230: 0,0,0,0,0,0,0,0, 231: 0,0,0,0,0,0,0,0, 232: 0,0,0,0,0,0,0,0, 233: 0,0,0,0,0,0,0,0, 234: 0,0,0,0,0,0,0,0, 235: 0,0,0,0,0,0,0,0, 236: 0,0,0,0,0,0,0,0, 237: 0,0,0,0,0, 238: "/*registered*/", 239: "/*copywrite*/", 240: 0, 241: "/*cent*/", 242: }; 243: int chtab [] { 244: '--', 0210, /*font minus*/ 245: 'hy', 0200, /*hyphen*/ 246: 'bu', 0201, /*bullet*/ 247: 'sq', 0202, /*square*/ 248: 'em', 0203, /*3/4em*/ 249: 'ru', 0204, /*rule*/ 250: '14', 0205, /*1/4*/ 251: '12', 0206, /*1/2*/ 252: '34', 0207, /*3/4*/ 253: 'mi', 0302, /*equation minus*/ 254: 'fi', 0211, /*fi*/ 255: 'fl', 0212, /*fl*/ 256: 'ff', 0213, /*ff*/ 257: 'Fi', 0214, /*ffi*/ 258: 'Fl', 0215, /*ffl*/ 259: 'de', 0216, /*degree*/ 260: 'dg', 0217, /*dagger*/ 261: 'sc', 0220, /*section*/ 262: 'fm', 0221, /*foot mark*/ 263: 'aa', 0222, /*acute accent*/ 264: 'ga', 0223, /*grave accent*/ 265: 'ul', 0224, /*underrule*/ 266: 'sl', 0225, /*slash (longer)*/ 267: '*a', 0230, /*alpha*/ 268: '*b', 0231, /*beta*/ 269: '*g', 0232, /*gamma*/ 270: '*d', 0233, /*delta*/ 271: '*e', 0234, /*epsilon*/ 272: '*z', 0235, /*zeta*/ 273: '*y', 0236, /*eta*/ 274: '*h', 0237, /*theta*/ 275: '*i', 0240, /*iota*/ 276: '*k', 0241, /*kappa*/ 277: '*l', 0242, /*lambda*/ 278: '*m', 0243, /*mu*/ 279: '*n', 0244, /*nu*/ 280: '*c', 0245, /*xi*/ 281: '*o', 0246, /*omicron*/ 282: '*p', 0247, /*pi*/ 283: '*r', 0250, /*rho*/ 284: '*s', 0251, /*sigma*/ 285: '*t', 0252, /*tau*/ 286: '*u', 0253, /*upsilon*/ 287: '*f', 0254, /*phi*/ 288: '*x', 0255, /*chi*/ 289: '*q', 0256, /*psi*/ 290: '*w', 0257, /*omega*/ 291: '*A', 0101, /*Alpha*/ 292: '*B', 0102, /*Beta*/ 293: '*G', 0260, /*Gamma*/ 294: '*D', 0261, /*Delta*/ 295: '*E', 0105, /*Epsilon*/ 296: '*Z', 0132, /*Zeta*/ 297: '*Y', 0110, /*Eta*/ 298: '*H', 0262, /*Theta*/ 299: '*I', 0111, /*Iota*/ 300: '*K', 0113, /*Kappa*/ 301: '*L', 0263, /*Lambda*/ 302: '*M', 0115, /*Mu*/ 303: '*N', 0116, /*Nu*/ 304: '*C', 0264, /*Xi*/ 305: '*O', 0117, /*Omicron*/ 306: '*P', 0265, /*Pi*/ 307: '*R', 0120, /*Rho*/ 308: '*S', 0266, /*Sigma*/ 309: '*T', 0124, /*Tau*/ 310: '*U', 0270, /*Upsilon*/ 311: '*F', 0271, /*Phi*/ 312: '*X', 0130, /*Chi*/ 313: '*Q', 0272, /*Psi*/ 314: '*W', 0273, /*Omega*/ 315: 'sr', 0274, /*square root*/ 316: 'ts', 0275, /*terminal sigma*/ 317: 'rn', 0276, /*root en*/ 318: '>=', 0277, /*>=*/ 319: '<=', 0300, /*<=*/ 320: '==', 0301, /*identically equal*/ 321: '~=', 0303, /*approx =*/ 322: 'ap', 0304, /*approximates*/ 323: '!=', 0305, /*not equal*/ 324: '->', 0306, /*right arrow*/ 325: '<-', 0307, /*left arrow*/ 326: 'ua', 0310, /*up arrow*/ 327: 'da', 0311, /*down arrow*/ 328: 'eq', 0312, /*equation equal*/ 329: 'mu', 0313, /*multiply*/ 330: 'di', 0314, /*divide*/ 331: '+-', 0315, /*plus-minus*/ 332: 'cu', 0316, /*cup (union)*/ 333: 'ca', 0317, /*cap (intersection)*/ 334: 'sb', 0320, /*subset of*/ 335: 'sp', 0321, /*superset of*/ 336: 'ib', 0322, /*improper subset*/ 337: 'ip', 0323, /* " superset*/ 338: 'if', 0324, /*infinity*/ 339: 'pd', 0325, /*partial derivative*/ 340: 'gr', 0326, /*gradient*/ 341: 'no', 0327, /*not*/ 342: 'is', 0330, /*integral sign*/ 343: 'pt', 0331, /*proportional to*/ 344: 'es', 0332, /*empty set*/ 345: 'mo', 0333, /*member of*/ 346: 'pl', 0334, /*equation plus*/ 347: 'rg', 0335, /*registered*/ 348: 'co', 0336, /*copyright*/ 349: 'br', 0337, /*box vert rule*/ 350: 'ct', 0340, /*cent sign*/ 351: 'dd', 0341, /*dbl dagger*/ 352: 'rh', 0342, /*right hand*/ 353: 'lh', 0343, /*left hand*/ 354: '**', 0344, /*math * */ 355: 'bs', 0345, /*bell system sign*/ 356: 'or', 0346, /*or*/ 357: 'ci', 0347, /*circle*/ 358: 'lt', 0350, /*left top (of big curly)*/ 359: 'lb', 0351, /*left bottom*/ 360: 'rt', 0352, /*right top*/ 361: 'rb', 0353, /*right bot*/ 362: 'lk', 0354, /*left center of big curly bracket*/ 363: 'rk', 0355, /*right center of big curly bracket*/ 364: 'bv', 0356, /*bold vertical*/ 365: 'lf', 0357, /*left floor (left bot of big sq bract)*/ 366: 'rf', 0360, /*right floor (rb of ")*/ 367: 'lc', 0361, /*left ceiling (lt of ")*/ 368: 'rc', 0362, /*right ceiling (rt of ")*/ 369: 0,0};