i hope the node casts are correct here.
[AROS-Contrib.git] / arospdf / xpdf / FontEncodingTables.cc
blobbf04b5b190f40ef343fe24c4e678e811800d7d4c
1 //========================================================================
2 //
3 // FontEncodingTables.cc
4 //
5 // Copyright 2001-2003 Glyph & Cog, LLC
6 //
7 //========================================================================
9 #include <aconf.h>
10 #include <stdlib.h>
11 #include "FontEncodingTables.h"
13 const char *macRomanEncoding[256] = {
14 NULL,
15 NULL,
16 NULL,
17 NULL,
18 NULL,
19 NULL,
20 NULL,
21 NULL,
22 NULL,
23 NULL,
24 NULL,
25 NULL,
26 NULL,
27 NULL,
28 NULL,
29 NULL,
30 NULL,
31 NULL,
32 NULL,
33 NULL,
34 NULL,
35 NULL,
36 NULL,
37 NULL,
38 NULL,
39 NULL,
40 NULL,
41 NULL,
42 NULL,
43 NULL,
44 NULL,
45 NULL,
46 "space",
47 "exclam",
48 "quotedbl",
49 "numbersign",
50 "dollar",
51 "percent",
52 "ampersand",
53 "quotesingle",
54 "parenleft",
55 "parenright",
56 "asterisk",
57 "plus",
58 "comma",
59 "hyphen",
60 "period",
61 "slash",
62 "zero",
63 "one",
64 "two",
65 "three",
66 "four",
67 "five",
68 "six",
69 "seven",
70 "eight",
71 "nine",
72 "colon",
73 "semicolon",
74 "less",
75 "equal",
76 "greater",
77 "question",
78 "at",
79 "A",
80 "B",
81 "C",
82 "D",
83 "E",
84 "F",
85 "G",
86 "H",
87 "I",
88 "J",
89 "K",
90 "L",
91 "M",
92 "N",
93 "O",
94 "P",
95 "Q",
96 "R",
97 "S",
98 "T",
99 "U",
100 "V",
101 "W",
102 "X",
103 "Y",
104 "Z",
105 "bracketleft",
106 "backslash",
107 "bracketright",
108 "asciicircum",
109 "underscore",
110 "grave",
111 "a",
112 "b",
113 "c",
114 "d",
115 "e",
116 "f",
117 "g",
118 "h",
119 "i",
120 "j",
121 "k",
122 "l",
123 "m",
124 "n",
125 "o",
126 "p",
127 "q",
128 "r",
129 "s",
130 "t",
131 "u",
132 "v",
133 "w",
134 "x",
135 "y",
136 "z",
137 "braceleft",
138 "bar",
139 "braceright",
140 "asciitilde",
141 NULL,
142 "Adieresis",
143 "Aring",
144 "Ccedilla",
145 "Eacute",
146 "Ntilde",
147 "Odieresis",
148 "Udieresis",
149 "aacute",
150 "agrave",
151 "acircumflex",
152 "adieresis",
153 "atilde",
154 "aring",
155 "ccedilla",
156 "eacute",
157 "egrave",
158 "ecircumflex",
159 "edieresis",
160 "iacute",
161 "igrave",
162 "icircumflex",
163 "idieresis",
164 "ntilde",
165 "oacute",
166 "ograve",
167 "ocircumflex",
168 "odieresis",
169 "otilde",
170 "uacute",
171 "ugrave",
172 "ucircumflex",
173 "udieresis",
174 "dagger",
175 "degree",
176 "cent",
177 "sterling",
178 "section",
179 "bullet",
180 "paragraph",
181 "germandbls",
182 "registered",
183 "copyright",
184 "trademark",
185 "acute",
186 "dieresis",
187 "notequal",
188 "AE",
189 "Oslash",
190 "infinity",
191 "plusminus",
192 "lessequal",
193 "greaterequal",
194 "yen",
195 "mu",
196 "partialdiff",
197 "summation",
198 "product",
199 "pi",
200 "integral",
201 "ordfeminine",
202 "ordmasculine",
203 "Omega",
204 "ae",
205 "oslash",
206 "questiondown",
207 "exclamdown",
208 "logicalnot",
209 "radical",
210 "florin",
211 "approxequal",
212 "Delta",
213 "guillemotleft",
214 "guillemotright",
215 "ellipsis",
216 "space",
217 "Agrave",
218 "Atilde",
219 "Otilde",
220 "OE",
221 "oe",
222 "endash",
223 "emdash",
224 "quotedblleft",
225 "quotedblright",
226 "quoteleft",
227 "quoteright",
228 "divide",
229 "lozenge",
230 "ydieresis",
231 "Ydieresis",
232 "fraction",
233 "currency",
234 "guilsinglleft",
235 "guilsinglright",
236 "fi",
237 "fl",
238 "daggerdbl",
239 "periodcentered",
240 "quotesinglbase",
241 "quotedblbase",
242 "perthousand",
243 "Acircumflex",
244 "Ecircumflex",
245 "Aacute",
246 "Edieresis",
247 "Egrave",
248 "Iacute",
249 "Icircumflex",
250 "Idieresis",
251 "Igrave",
252 "Oacute",
253 "Ocircumflex",
254 "apple",
255 "Ograve",
256 "Uacute",
257 "Ucircumflex",
258 "Ugrave",
259 "dotlessi",
260 "circumflex",
261 "tilde",
262 "macron",
263 "breve",
264 "dotaccent",
265 "ring",
266 "cedilla",
267 "hungarumlaut",
268 "ogonek",
269 "caron"
272 const char *macExpertEncoding[256] = {
273 NULL,
274 NULL,
275 NULL,
276 NULL,
277 NULL,
278 NULL,
279 NULL,
280 NULL,
281 NULL,
282 NULL,
283 NULL,
284 NULL,
285 NULL,
286 NULL,
287 NULL,
288 NULL,
289 NULL,
290 NULL,
291 NULL,
292 NULL,
293 NULL,
294 NULL,
295 NULL,
296 NULL,
297 NULL,
298 NULL,
299 NULL,
300 NULL,
301 NULL,
302 NULL,
303 NULL,
304 NULL,
305 "space",
306 "exclamsmall",
307 "Hungarumlautsmall",
308 "centoldstyle",
309 "dollaroldstyle",
310 "dollarsuperior",
311 "ampersandsmall",
312 "Acutesmall",
313 "parenleftsuperior",
314 "parenrightsuperior",
315 "twodotenleader",
316 "onedotenleader",
317 "comma",
318 "hyphen",
319 "period",
320 "fraction",
321 "zerooldstyle",
322 "oneoldstyle",
323 "twooldstyle",
324 "threeoldstyle",
325 "fouroldstyle",
326 "fiveoldstyle",
327 "sixoldstyle",
328 "sevenoldstyle",
329 "eightoldstyle",
330 "nineoldstyle",
331 "colon",
332 "semicolon",
333 NULL,
334 "threequartersemdash",
335 NULL,
336 "questionsmall",
337 NULL,
338 NULL,
339 NULL,
340 NULL,
341 "Ethsmall",
342 NULL,
343 NULL,
344 "onequarter",
345 "onehalf",
346 "threequarters",
347 "oneeighth",
348 "threeeighths",
349 "fiveeighths",
350 "seveneighths",
351 "onethird",
352 "twothirds",
353 NULL,
354 NULL,
355 NULL,
356 NULL,
357 NULL,
358 NULL,
359 "ff",
360 "fi",
361 "fl",
362 "ffi",
363 "ffl",
364 "parenleftinferior",
365 NULL,
366 "parenrightinferior",
367 "Circumflexsmall",
368 "hypheninferior",
369 "Gravesmall",
370 "Asmall",
371 "Bsmall",
372 "Csmall",
373 "Dsmall",
374 "Esmall",
375 "Fsmall",
376 "Gsmall",
377 "Hsmall",
378 "Ismall",
379 "Jsmall",
380 "Ksmall",
381 "Lsmall",
382 "Msmall",
383 "Nsmall",
384 "Osmall",
385 "Psmall",
386 "Qsmall",
387 "Rsmall",
388 "Ssmall",
389 "Tsmall",
390 "Usmall",
391 "Vsmall",
392 "Wsmall",
393 "Xsmall",
394 "Ysmall",
395 "Zsmall",
396 "colonmonetary",
397 "onefitted",
398 "rupiah",
399 "Tildesmall",
400 NULL,
401 NULL,
402 "asuperior",
403 "centsuperior",
404 NULL,
405 NULL,
406 NULL,
407 NULL,
408 "Aacutesmall",
409 "Agravesmall",
410 "Acircumflexsmall",
411 "Adieresissmall",
412 "Atildesmall",
413 "Aringsmall",
414 "Ccedillasmall",
415 "Eacutesmall",
416 "Egravesmall",
417 "Ecircumflexsmall",
418 "Edieresissmall",
419 "Iacutesmall",
420 "Igravesmall",
421 "Icircumflexsmall",
422 "Idieresissmall",
423 "Ntildesmall",
424 "Oacutesmall",
425 "Ogravesmall",
426 "Ocircumflexsmall",
427 "Odieresissmall",
428 "Otildesmall",
429 "Uacutesmall",
430 "Ugravesmall",
431 "Ucircumflexsmall",
432 "Udieresissmall",
433 NULL,
434 "eightsuperior",
435 "fourinferior",
436 "threeinferior",
437 "sixinferior",
438 "eightinferior",
439 "seveninferior",
440 "Scaronsmall",
441 NULL,
442 "centinferior",
443 "twoinferior",
444 NULL,
445 "Dieresissmall",
446 NULL,
447 "Caronsmall",
448 "osuperior",
449 "fiveinferior",
450 NULL,
451 "commainferior",
452 "periodinferior",
453 "Yacutesmall",
454 NULL,
455 "dollarinferior",
456 NULL,
457 NULL,
458 "Thornsmall",
459 NULL,
460 "nineinferior",
461 "zeroinferior",
462 "Zcaronsmall",
463 "AEsmall",
464 "Oslashsmall",
465 "questiondownsmall",
466 "oneinferior",
467 "Lslashsmall",
468 NULL,
469 NULL,
470 NULL,
471 NULL,
472 NULL,
473 NULL,
474 "Cedillasmall",
475 NULL,
476 NULL,
477 NULL,
478 NULL,
479 NULL,
480 "OEsmall",
481 "figuredash",
482 "hyphensuperior",
483 NULL,
484 NULL,
485 NULL,
486 NULL,
487 "exclamdownsmall",
488 NULL,
489 "Ydieresissmall",
490 NULL,
491 "onesuperior",
492 "twosuperior",
493 "threesuperior",
494 "foursuperior",
495 "fivesuperior",
496 "sixsuperior",
497 "sevensuperior",
498 "ninesuperior",
499 "zerosuperior",
500 NULL,
501 "esuperior",
502 "rsuperior",
503 "tsuperior",
504 NULL,
505 NULL,
506 "isuperior",
507 "ssuperior",
508 "dsuperior",
509 NULL,
510 NULL,
511 NULL,
512 NULL,
513 NULL,
514 "lsuperior",
515 "Ogoneksmall",
516 "Brevesmall",
517 "Macronsmall",
518 "bsuperior",
519 "nsuperior",
520 "msuperior",
521 "commasuperior",
522 "periodsuperior",
523 "Dotaccentsmall",
524 "Ringsmall",
525 NULL,
526 NULL,
527 NULL,
528 NULL
531 const char *winAnsiEncoding[256] = {
532 NULL,
533 NULL,
534 NULL,
535 NULL,
536 NULL,
537 NULL,
538 NULL,
539 NULL,
540 NULL,
541 NULL,
542 NULL,
543 NULL,
544 NULL,
545 NULL,
546 NULL,
547 NULL,
548 NULL,
549 NULL,
550 NULL,
551 NULL,
552 NULL,
553 NULL,
554 NULL,
555 NULL,
556 NULL,
557 NULL,
558 NULL,
559 NULL,
560 NULL,
561 NULL,
562 NULL,
563 NULL,
564 "space",
565 "exclam",
566 "quotedbl",
567 "numbersign",
568 "dollar",
569 "percent",
570 "ampersand",
571 "quotesingle",
572 "parenleft",
573 "parenright",
574 "asterisk",
575 "plus",
576 "comma",
577 "hyphen",
578 "period",
579 "slash",
580 "zero",
581 "one",
582 "two",
583 "three",
584 "four",
585 "five",
586 "six",
587 "seven",
588 "eight",
589 "nine",
590 "colon",
591 "semicolon",
592 "less",
593 "equal",
594 "greater",
595 "question",
596 "at",
597 "A",
598 "B",
599 "C",
600 "D",
601 "E",
602 "F",
603 "G",
604 "H",
605 "I",
606 "J",
607 "K",
608 "L",
609 "M",
610 "N",
611 "O",
612 "P",
613 "Q",
614 "R",
615 "S",
616 "T",
617 "U",
618 "V",
619 "W",
620 "X",
621 "Y",
622 "Z",
623 "bracketleft",
624 "backslash",
625 "bracketright",
626 "asciicircum",
627 "underscore",
628 "grave",
629 "a",
630 "b",
631 "c",
632 "d",
633 "e",
634 "f",
635 "g",
636 "h",
637 "i",
638 "j",
639 "k",
640 "l",
641 "m",
642 "n",
643 "o",
644 "p",
645 "q",
646 "r",
647 "s",
648 "t",
649 "u",
650 "v",
651 "w",
652 "x",
653 "y",
654 "z",
655 "braceleft",
656 "bar",
657 "braceright",
658 "asciitilde",
659 "bullet",
660 "Euro",
661 "bullet",
662 "quotesinglbase",
663 "florin",
664 "quotedblbase",
665 "ellipsis",
666 "dagger",
667 "daggerdbl",
668 "circumflex",
669 "perthousand",
670 "Scaron",
671 "guilsinglleft",
672 "OE",
673 "bullet",
674 "Zcaron",
675 "bullet",
676 "bullet",
677 "quoteleft",
678 "quoteright",
679 "quotedblleft",
680 "quotedblright",
681 "bullet",
682 "endash",
683 "emdash",
684 "tilde",
685 "trademark",
686 "scaron",
687 "guilsinglright",
688 "oe",
689 "bullet",
690 "zcaron",
691 "Ydieresis",
692 "space",
693 "exclamdown",
694 "cent",
695 "sterling",
696 "currency",
697 "yen",
698 "brokenbar",
699 "section",
700 "dieresis",
701 "copyright",
702 "ordfeminine",
703 "guillemotleft",
704 "logicalnot",
705 "hyphen",
706 "registered",
707 "macron",
708 "degree",
709 "plusminus",
710 "twosuperior",
711 "threesuperior",
712 "acute",
713 "mu",
714 "paragraph",
715 "periodcentered",
716 "cedilla",
717 "onesuperior",
718 "ordmasculine",
719 "guillemotright",
720 "onequarter",
721 "onehalf",
722 "threequarters",
723 "questiondown",
724 "Agrave",
725 "Aacute",
726 "Acircumflex",
727 "Atilde",
728 "Adieresis",
729 "Aring",
730 "AE",
731 "Ccedilla",
732 "Egrave",
733 "Eacute",
734 "Ecircumflex",
735 "Edieresis",
736 "Igrave",
737 "Iacute",
738 "Icircumflex",
739 "Idieresis",
740 "Eth",
741 "Ntilde",
742 "Ograve",
743 "Oacute",
744 "Ocircumflex",
745 "Otilde",
746 "Odieresis",
747 "multiply",
748 "Oslash",
749 "Ugrave",
750 "Uacute",
751 "Ucircumflex",
752 "Udieresis",
753 "Yacute",
754 "Thorn",
755 "germandbls",
756 "agrave",
757 "aacute",
758 "acircumflex",
759 "atilde",
760 "adieresis",
761 "aring",
762 "ae",
763 "ccedilla",
764 "egrave",
765 "eacute",
766 "ecircumflex",
767 "edieresis",
768 "igrave",
769 "iacute",
770 "icircumflex",
771 "idieresis",
772 "eth",
773 "ntilde",
774 "ograve",
775 "oacute",
776 "ocircumflex",
777 "otilde",
778 "odieresis",
779 "divide",
780 "oslash",
781 "ugrave",
782 "uacute",
783 "ucircumflex",
784 "udieresis",
785 "yacute",
786 "thorn",
787 "ydieresis"
790 const char *standardEncoding[256] = {
791 NULL,
792 NULL,
793 NULL,
794 NULL,
795 NULL,
796 NULL,
797 NULL,
798 NULL,
799 NULL,
800 NULL,
801 NULL,
802 NULL,
803 NULL,
804 NULL,
805 NULL,
806 NULL,
807 NULL,
808 NULL,
809 NULL,
810 NULL,
811 NULL,
812 NULL,
813 NULL,
814 NULL,
815 NULL,
816 NULL,
817 NULL,
818 NULL,
819 NULL,
820 NULL,
821 NULL,
822 NULL,
823 "space",
824 "exclam",
825 "quotedbl",
826 "numbersign",
827 "dollar",
828 "percent",
829 "ampersand",
830 "quoteright",
831 "parenleft",
832 "parenright",
833 "asterisk",
834 "plus",
835 "comma",
836 "hyphen",
837 "period",
838 "slash",
839 "zero",
840 "one",
841 "two",
842 "three",
843 "four",
844 "five",
845 "six",
846 "seven",
847 "eight",
848 "nine",
849 "colon",
850 "semicolon",
851 "less",
852 "equal",
853 "greater",
854 "question",
855 "at",
856 "A",
857 "B",
858 "C",
859 "D",
860 "E",
861 "F",
862 "G",
863 "H",
864 "I",
865 "J",
866 "K",
867 "L",
868 "M",
869 "N",
870 "O",
871 "P",
872 "Q",
873 "R",
874 "S",
875 "T",
876 "U",
877 "V",
878 "W",
879 "X",
880 "Y",
881 "Z",
882 "bracketleft",
883 "backslash",
884 "bracketright",
885 "asciicircum",
886 "underscore",
887 "quoteleft",
888 "a",
889 "b",
890 "c",
891 "d",
892 "e",
893 "f",
894 "g",
895 "h",
896 "i",
897 "j",
898 "k",
899 "l",
900 "m",
901 "n",
902 "o",
903 "p",
904 "q",
905 "r",
906 "s",
907 "t",
908 "u",
909 "v",
910 "w",
911 "x",
912 "y",
913 "z",
914 "braceleft",
915 "bar",
916 "braceright",
917 "asciitilde",
918 NULL,
919 NULL,
920 NULL,
921 NULL,
922 NULL,
923 NULL,
924 NULL,
925 NULL,
926 NULL,
927 NULL,
928 NULL,
929 NULL,
930 NULL,
931 NULL,
932 NULL,
933 NULL,
934 NULL,
935 NULL,
936 NULL,
937 NULL,
938 NULL,
939 NULL,
940 NULL,
941 NULL,
942 NULL,
943 NULL,
944 NULL,
945 NULL,
946 NULL,
947 NULL,
948 NULL,
949 NULL,
950 NULL,
951 NULL,
952 "exclamdown",
953 "cent",
954 "sterling",
955 "fraction",
956 "yen",
957 "florin",
958 "section",
959 "currency",
960 "quotesingle",
961 "quotedblleft",
962 "guillemotleft",
963 "guilsinglleft",
964 "guilsinglright",
965 "fi",
966 "fl",
967 NULL,
968 "endash",
969 "dagger",
970 "daggerdbl",
971 "periodcentered",
972 NULL,
973 "paragraph",
974 "bullet",
975 "quotesinglbase",
976 "quotedblbase",
977 "quotedblright",
978 "guillemotright",
979 "ellipsis",
980 "perthousand",
981 NULL,
982 "questiondown",
983 NULL,
984 "grave",
985 "acute",
986 "circumflex",
987 "tilde",
988 "macron",
989 "breve",
990 "dotaccent",
991 "dieresis",
992 NULL,
993 "ring",
994 "cedilla",
995 NULL,
996 "hungarumlaut",
997 "ogonek",
998 "caron",
999 "emdash",
1000 NULL,
1001 NULL,
1002 NULL,
1003 NULL,
1004 NULL,
1005 NULL,
1006 NULL,
1007 NULL,
1008 NULL,
1009 NULL,
1010 NULL,
1011 NULL,
1012 NULL,
1013 NULL,
1014 NULL,
1015 NULL,
1016 "AE",
1017 NULL,
1018 "ordfeminine",
1019 NULL,
1020 NULL,
1021 NULL,
1022 NULL,
1023 "Lslash",
1024 "Oslash",
1025 "OE",
1026 "ordmasculine",
1027 NULL,
1028 NULL,
1029 NULL,
1030 NULL,
1031 NULL,
1032 "ae",
1033 NULL,
1034 NULL,
1035 NULL,
1036 "dotlessi",
1037 NULL,
1038 NULL,
1039 "lslash",
1040 "oslash",
1041 "oe",
1042 "germandbls",
1043 NULL,
1044 NULL,
1045 NULL,
1046 NULL
1049 const char *expertEncoding[256] = {
1050 NULL,
1051 NULL,
1052 NULL,
1053 NULL,
1054 NULL,
1055 NULL,
1056 NULL,
1057 NULL,
1058 NULL,
1059 NULL,
1060 NULL,
1061 NULL,
1062 NULL,
1063 NULL,
1064 NULL,
1065 NULL,
1066 NULL,
1067 NULL,
1068 NULL,
1069 NULL,
1070 NULL,
1071 NULL,
1072 NULL,
1073 NULL,
1074 NULL,
1075 NULL,
1076 NULL,
1077 NULL,
1078 NULL,
1079 NULL,
1080 NULL,
1081 NULL,
1082 "space",
1083 "exclamsmall",
1084 "Hungarumlautsmall",
1085 NULL,
1086 "dollaroldstyle",
1087 "dollarsuperior",
1088 "ampersandsmall",
1089 "Acutesmall",
1090 "parenleftsuperior",
1091 "parenrightsuperior",
1092 "twodotenleader",
1093 "onedotenleader",
1094 "comma",
1095 "hyphen",
1096 "period",
1097 "fraction",
1098 "zerooldstyle",
1099 "oneoldstyle",
1100 "twooldstyle",
1101 "threeoldstyle",
1102 "fouroldstyle",
1103 "fiveoldstyle",
1104 "sixoldstyle",
1105 "sevenoldstyle",
1106 "eightoldstyle",
1107 "nineoldstyle",
1108 "colon",
1109 "semicolon",
1110 "commasuperior",
1111 "threequartersemdash",
1112 "periodsuperior",
1113 "questionsmall",
1114 NULL,
1115 "asuperior",
1116 "bsuperior",
1117 "centsuperior",
1118 "dsuperior",
1119 "esuperior",
1120 NULL,
1121 NULL,
1122 NULL,
1123 "isuperior",
1124 NULL,
1125 NULL,
1126 "lsuperior",
1127 "msuperior",
1128 "nsuperior",
1129 "osuperior",
1130 NULL,
1131 NULL,
1132 "rsuperior",
1133 "ssuperior",
1134 "tsuperior",
1135 NULL,
1136 "ff",
1137 "fi",
1138 "fl",
1139 "ffi",
1140 "ffl",
1141 "parenleftinferior",
1142 NULL,
1143 "parenrightinferior",
1144 "Circumflexsmall",
1145 "hyphensuperior",
1146 "Gravesmall",
1147 "Asmall",
1148 "Bsmall",
1149 "Csmall",
1150 "Dsmall",
1151 "Esmall",
1152 "Fsmall",
1153 "Gsmall",
1154 "Hsmall",
1155 "Ismall",
1156 "Jsmall",
1157 "Ksmall",
1158 "Lsmall",
1159 "Msmall",
1160 "Nsmall",
1161 "Osmall",
1162 "Psmall",
1163 "Qsmall",
1164 "Rsmall",
1165 "Ssmall",
1166 "Tsmall",
1167 "Usmall",
1168 "Vsmall",
1169 "Wsmall",
1170 "Xsmall",
1171 "Ysmall",
1172 "Zsmall",
1173 "colonmonetary",
1174 "onefitted",
1175 "rupiah",
1176 "Tildesmall",
1177 NULL,
1178 NULL,
1179 NULL,
1180 NULL,
1181 NULL,
1182 NULL,
1183 NULL,
1184 NULL,
1185 NULL,
1186 NULL,
1187 NULL,
1188 NULL,
1189 NULL,
1190 NULL,
1191 NULL,
1192 NULL,
1193 NULL,
1194 NULL,
1195 NULL,
1196 NULL,
1197 NULL,
1198 NULL,
1199 NULL,
1200 NULL,
1201 NULL,
1202 NULL,
1203 NULL,
1204 NULL,
1205 NULL,
1206 NULL,
1207 NULL,
1208 NULL,
1209 NULL,
1210 NULL,
1211 "exclamdownsmall",
1212 "centoldstyle",
1213 "Lslashsmall",
1214 NULL,
1215 NULL,
1216 "Scaronsmall",
1217 "Zcaronsmall",
1218 "Dieresissmall",
1219 "Brevesmall",
1220 "Caronsmall",
1221 NULL,
1222 "Dotaccentsmall",
1223 NULL,
1224 NULL,
1225 "Macronsmall",
1226 NULL,
1227 NULL,
1228 "figuredash",
1229 "hypheninferior",
1230 NULL,
1231 NULL,
1232 "Ogoneksmall",
1233 "Ringsmall",
1234 "Cedillasmall",
1235 NULL,
1236 NULL,
1237 NULL,
1238 "onequarter",
1239 "onehalf",
1240 "threequarters",
1241 "questiondownsmall",
1242 "oneeighth",
1243 "threeeighths",
1244 "fiveeighths",
1245 "seveneighths",
1246 "onethird",
1247 "twothirds",
1248 NULL,
1249 NULL,
1250 "zerosuperior",
1251 "onesuperior",
1252 "twosuperior",
1253 "threesuperior",
1254 "foursuperior",
1255 "fivesuperior",
1256 "sixsuperior",
1257 "sevensuperior",
1258 "eightsuperior",
1259 "ninesuperior",
1260 "zeroinferior",
1261 "oneinferior",
1262 "twoinferior",
1263 "threeinferior",
1264 "fourinferior",
1265 "fiveinferior",
1266 "sixinferior",
1267 "seveninferior",
1268 "eightinferior",
1269 "nineinferior",
1270 "centinferior",
1271 "dollarinferior",
1272 "periodinferior",
1273 "commainferior",
1274 "Agravesmall",
1275 "Aacutesmall",
1276 "Acircumflexsmall",
1277 "Atildesmall",
1278 "Adieresissmall",
1279 "Aringsmall",
1280 "AEsmall",
1281 "Ccedillasmall",
1282 "Egravesmall",
1283 "Eacutesmall",
1284 "Ecircumflexsmall",
1285 "Edieresissmall",
1286 "Igravesmall",
1287 "Iacutesmall",
1288 "Icircumflexsmall",
1289 "Idieresissmall",
1290 "Ethsmall",
1291 "Ntildesmall",
1292 "Ogravesmall",
1293 "Oacutesmall",
1294 "Ocircumflexsmall",
1295 "Otildesmall",
1296 "Odieresissmall",
1297 "OEsmall",
1298 "Oslashsmall",
1299 "Ugravesmall",
1300 "Uacutesmall",
1301 "Ucircumflexsmall",
1302 "Udieresissmall",
1303 "Yacutesmall",
1304 "Thornsmall",
1305 "Ydieresissmall"
1308 const char *symbolEncoding[256] = {
1309 NULL,
1310 NULL,
1311 NULL,
1312 NULL,
1313 NULL,
1314 NULL,
1315 NULL,
1316 NULL,
1317 NULL,
1318 NULL,
1319 NULL,
1320 NULL,
1321 NULL,
1322 NULL,
1323 NULL,
1324 NULL,
1325 NULL,
1326 NULL,
1327 NULL,
1328 NULL,
1329 NULL,
1330 NULL,
1331 NULL,
1332 NULL,
1333 NULL,
1334 NULL,
1335 NULL,
1336 NULL,
1337 NULL,
1338 NULL,
1339 NULL,
1340 NULL,
1341 "space",
1342 "exclam",
1343 "universal",
1344 "numbersign",
1345 "existential",
1346 "percent",
1347 "ampersand",
1348 "suchthat",
1349 "parenleft",
1350 "parenright",
1351 "asteriskmath",
1352 "plus",
1353 "comma",
1354 "minus",
1355 "period",
1356 "slash",
1357 "zero",
1358 "one",
1359 "two",
1360 "three",
1361 "four",
1362 "five",
1363 "six",
1364 "seven",
1365 "eight",
1366 "nine",
1367 "colon",
1368 "semicolon",
1369 "less",
1370 "equal",
1371 "greater",
1372 "question",
1373 "congruent",
1374 "Alpha",
1375 "Beta",
1376 "Chi",
1377 "Delta",
1378 "Epsilon",
1379 "Phi",
1380 "Gamma",
1381 "Eta",
1382 "Iota",
1383 "theta1",
1384 "Kappa",
1385 "Lambda",
1386 "Mu",
1387 "Nu",
1388 "Omicron",
1389 "Pi",
1390 "Theta",
1391 "Rho",
1392 "Sigma",
1393 "Tau",
1394 "Upsilon",
1395 "sigma1",
1396 "Omega",
1397 "Xi",
1398 "Psi",
1399 "Zeta",
1400 "bracketleft",
1401 "therefore",
1402 "bracketright",
1403 "perpendicular",
1404 "underscore",
1405 "radicalex",
1406 "alpha",
1407 "beta",
1408 "chi",
1409 "delta",
1410 "epsilon",
1411 "phi",
1412 "gamma",
1413 "eta",
1414 "iota",
1415 "phi1",
1416 "kappa",
1417 "lambda",
1418 "mu",
1419 "nu",
1420 "omicron",
1421 "pi",
1422 "theta",
1423 "rho",
1424 "sigma",
1425 "tau",
1426 "upsilon",
1427 "omega1",
1428 "omega",
1429 "xi",
1430 "psi",
1431 "zeta",
1432 "braceleft",
1433 "bar",
1434 "braceright",
1435 "similar",
1436 NULL,
1437 NULL,
1438 NULL,
1439 NULL,
1440 NULL,
1441 NULL,
1442 NULL,
1443 NULL,
1444 NULL,
1445 NULL,
1446 NULL,
1447 NULL,
1448 NULL,
1449 NULL,
1450 NULL,
1451 NULL,
1452 NULL,
1453 NULL,
1454 NULL,
1455 NULL,
1456 NULL,
1457 NULL,
1458 NULL,
1459 NULL,
1460 NULL,
1461 NULL,
1462 NULL,
1463 NULL,
1464 NULL,
1465 NULL,
1466 NULL,
1467 NULL,
1468 NULL,
1469 NULL,
1470 "Upsilon1",
1471 "minute",
1472 "lessequal",
1473 "fraction",
1474 "infinity",
1475 "florin",
1476 "club",
1477 "diamond",
1478 "heart",
1479 "spade",
1480 "arrowboth",
1481 "arrowleft",
1482 "arrowup",
1483 "arrowright",
1484 "arrowdown",
1485 "degree",
1486 "plusminus",
1487 "second",
1488 "greaterequal",
1489 "multiply",
1490 "proportional",
1491 "partialdiff",
1492 "bullet",
1493 "divide",
1494 "notequal",
1495 "equivalence",
1496 "approxequal",
1497 "ellipsis",
1498 "arrowvertex",
1499 "arrowhorizex",
1500 "carriagereturn",
1501 "aleph",
1502 "Ifraktur",
1503 "Rfraktur",
1504 "weierstrass",
1505 "circlemultiply",
1506 "circleplus",
1507 "emptyset",
1508 "intersection",
1509 "union",
1510 "propersuperset",
1511 "reflexsuperset",
1512 "notsubset",
1513 "propersubset",
1514 "reflexsubset",
1515 "element",
1516 "notelement",
1517 "angle",
1518 "gradient",
1519 "registerserif",
1520 "copyrightserif",
1521 "trademarkserif",
1522 "product",
1523 "radical",
1524 "dotmath",
1525 "logicalnot",
1526 "logicaland",
1527 "logicalor",
1528 "arrowdblboth",
1529 "arrowdblleft",
1530 "arrowdblup",
1531 "arrowdblright",
1532 "arrowdbldown",
1533 "lozenge",
1534 "angleleft",
1535 "registersans",
1536 "copyrightsans",
1537 "trademarksans",
1538 "summation",
1539 "parenlefttp",
1540 "parenleftex",
1541 "parenleftbt",
1542 "bracketlefttp",
1543 "bracketleftex",
1544 "bracketleftbt",
1545 "bracelefttp",
1546 "braceleftmid",
1547 "braceleftbt",
1548 "braceex",
1549 NULL,
1550 "angleright",
1551 "integral",
1552 "integraltp",
1553 "integralex",
1554 "integralbt",
1555 "parenrighttp",
1556 "parenrightex",
1557 "parenrightbt",
1558 "bracketrighttp",
1559 "bracketrightex",
1560 "bracketrightbt",
1561 "bracerighttp",
1562 "bracerightmid",
1563 "bracerightbt",
1564 NULL
1567 const char *zapfDingbatsEncoding[256] = {
1568 NULL,
1569 NULL,
1570 NULL,
1571 NULL,
1572 NULL,
1573 NULL,
1574 NULL,
1575 NULL,
1576 NULL,
1577 NULL,
1578 NULL,
1579 NULL,
1580 NULL,
1581 NULL,
1582 NULL,
1583 NULL,
1584 NULL,
1585 NULL,
1586 NULL,
1587 NULL,
1588 NULL,
1589 NULL,
1590 NULL,
1591 NULL,
1592 NULL,
1593 NULL,
1594 NULL,
1595 NULL,
1596 NULL,
1597 NULL,
1598 NULL,
1599 NULL,
1600 "space",
1601 "a1",
1602 "a2",
1603 "a202",
1604 "a3",
1605 "a4",
1606 "a5",
1607 "a119",
1608 "a118",
1609 "a117",
1610 "a11",
1611 "a12",
1612 "a13",
1613 "a14",
1614 "a15",
1615 "a16",
1616 "a105",
1617 "a17",
1618 "a18",
1619 "a19",
1620 "a20",
1621 "a21",
1622 "a22",
1623 "a23",
1624 "a24",
1625 "a25",
1626 "a26",
1627 "a27",
1628 "a28",
1629 "a6",
1630 "a7",
1631 "a8",
1632 "a9",
1633 "a10",
1634 "a29",
1635 "a30",
1636 "a31",
1637 "a32",
1638 "a33",
1639 "a34",
1640 "a35",
1641 "a36",
1642 "a37",
1643 "a38",
1644 "a39",
1645 "a40",
1646 "a41",
1647 "a42",
1648 "a43",
1649 "a44",
1650 "a45",
1651 "a46",
1652 "a47",
1653 "a48",
1654 "a49",
1655 "a50",
1656 "a51",
1657 "a52",
1658 "a53",
1659 "a54",
1660 "a55",
1661 "a56",
1662 "a57",
1663 "a58",
1664 "a59",
1665 "a60",
1666 "a61",
1667 "a62",
1668 "a63",
1669 "a64",
1670 "a65",
1671 "a66",
1672 "a67",
1673 "a68",
1674 "a69",
1675 "a70",
1676 "a71",
1677 "a72",
1678 "a73",
1679 "a74",
1680 "a203",
1681 "a75",
1682 "a204",
1683 "a76",
1684 "a77",
1685 "a78",
1686 "a79",
1687 "a81",
1688 "a82",
1689 "a83",
1690 "a84",
1691 "a97",
1692 "a98",
1693 "a99",
1694 "a100",
1695 NULL,
1696 NULL,
1697 NULL,
1698 NULL,
1699 NULL,
1700 NULL,
1701 NULL,
1702 NULL,
1703 NULL,
1704 NULL,
1705 NULL,
1706 NULL,
1707 NULL,
1708 NULL,
1709 NULL,
1710 NULL,
1711 NULL,
1712 NULL,
1713 NULL,
1714 NULL,
1715 NULL,
1716 NULL,
1717 NULL,
1718 NULL,
1719 NULL,
1720 NULL,
1721 NULL,
1722 NULL,
1723 NULL,
1724 NULL,
1725 NULL,
1726 NULL,
1727 NULL,
1728 NULL,
1729 "a101",
1730 "a102",
1731 "a103",
1732 "a104",
1733 "a106",
1734 "a107",
1735 "a108",
1736 "a112",
1737 "a111",
1738 "a110",
1739 "a109",
1740 "a120",
1741 "a121",
1742 "a122",
1743 "a123",
1744 "a124",
1745 "a125",
1746 "a126",
1747 "a127",
1748 "a128",
1749 "a129",
1750 "a130",
1751 "a131",
1752 "a132",
1753 "a133",
1754 "a134",
1755 "a135",
1756 "a136",
1757 "a137",
1758 "a138",
1759 "a139",
1760 "a140",
1761 "a141",
1762 "a142",
1763 "a143",
1764 "a144",
1765 "a145",
1766 "a146",
1767 "a147",
1768 "a148",
1769 "a149",
1770 "a150",
1771 "a151",
1772 "a152",
1773 "a153",
1774 "a154",
1775 "a155",
1776 "a156",
1777 "a157",
1778 "a158",
1779 "a159",
1780 "a160",
1781 "a161",
1782 "a163",
1783 "a164",
1784 "a196",
1785 "a165",
1786 "a192",
1787 "a166",
1788 "a167",
1789 "a168",
1790 "a169",
1791 "a170",
1792 "a171",
1793 "a172",
1794 "a173",
1795 "a162",
1796 "a174",
1797 "a175",
1798 "a176",
1799 "a177",
1800 "a178",
1801 "a179",
1802 "a193",
1803 "a180",
1804 "a199",
1805 "a181",
1806 "a200",
1807 "a182",
1808 NULL,
1809 "a201",
1810 "a183",
1811 "a184",
1812 "a197",
1813 "a185",
1814 "a194",
1815 "a198",
1816 "a186",
1817 "a195",
1818 "a187",
1819 "a188",
1820 "a189",
1821 "a190",
1822 "a191",
1823 NULL