Initial revision
[swftools.git] / pdf2swf / xpdf / CompactFontInfo.h
1 //========================================================================
2 //
3 // CompactFontInfo.h
4 //
5 // Copyright 1999 Derek B. Noonburg
6 //
7 //========================================================================
8
9 #ifndef COMPACTFONTINFO_H
10 #define COMPACTFONTINFO_H
11
12 static char *type1CStdStrings[391] = {
13   ".notdef",
14   "space",
15   "exclam",
16   "quotedbl",
17   "numbersign",
18   "dollar",
19   "percent",
20   "ampersand",
21   "quoteright",
22   "parenleft",
23   "parenright",
24   "asterisk",
25   "plus",
26   "comma",
27   "hyphen",
28   "period",
29   "slash",
30   "zero",
31   "one",
32   "two",
33   "three",
34   "four",
35   "five",
36   "six",
37   "seven",
38   "eight",
39   "nine",
40   "colon",
41   "semicolon",
42   "less",
43   "equal",
44   "greater",
45   "question",
46   "at",
47   "A",
48   "B",
49   "C",
50   "D",
51   "E",
52   "F",
53   "G",
54   "H",
55   "I",
56   "J",
57   "K",
58   "L",
59   "M",
60   "N",
61   "O",
62   "P",
63   "Q",
64   "R",
65   "S",
66   "T",
67   "U",
68   "V",
69   "W",
70   "X",
71   "Y",
72   "Z",
73   "bracketleft",
74   "backslash",
75   "bracketright",
76   "asciicircum",
77   "underscore",
78   "quoteleft",
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   "braceleft",
106   "bar",
107   "braceright",
108   "asciitilde",
109   "exclamdown",
110   "cent",
111   "sterling",
112   "fraction",
113   "yen",
114   "florin",
115   "section",
116   "currency",
117   "quotesingle",
118   "quotedblleft",
119   "guillemotleft",
120   "guilsinglleft",
121   "guilsinglright",
122   "fi",
123   "fl",
124   "endash",
125   "dagger",
126   "daggerdbl",
127   "periodcentered",
128   "paragraph",
129   "bullet",
130   "quotesinglbase",
131   "quotedblbase",
132   "quotedblright",
133   "guillemotright",
134   "ellipsis",
135   "perthousand",
136   "questiondown",
137   "grave",
138   "acute",
139   "circumflex",
140   "tilde",
141   "macron",
142   "breve",
143   "dotaccent",
144   "dieresis",
145   "ring",
146   "cedilla",
147   "hungarumlaut",
148   "ogonek",
149   "caron",
150   "emdash",
151   "AE",
152   "ordfeminine",
153   "Lslash",
154   "Oslash",
155   "OE",
156   "ordmasculine",
157   "ae",
158   "dotlessi",
159   "lslash",
160   "oslash",
161   "oe",
162   "germandbls",
163   "onesuperior",
164   "logicalnot",
165   "mu",
166   "trademark",
167   "Eth",
168   "onehalf",
169   "plusminus",
170   "Thorn",
171   "onequarter",
172   "divide",
173   "brokenbar",
174   "degree",
175   "thorn",
176   "threequarters",
177   "twosuperior",
178   "registered",
179   "minus",
180   "eth",
181   "multiply",
182   "threesuperior",
183   "copyright",
184   "Aacute",
185   "Acircumflex",
186   "Adieresis",
187   "Agrave",
188   "Aring",
189   "Atilde",
190   "Ccedilla",
191   "Eacute",
192   "Ecircumflex",
193   "Edieresis",
194   "Egrave",
195   "Iacute",
196   "Icircumflex",
197   "Idieresis",
198   "Igrave",
199   "Ntilde",
200   "Oacute",
201   "Ocircumflex",
202   "Odieresis",
203   "Ograve",
204   "Otilde",
205   "Scaron",
206   "Uacute",
207   "Ucircumflex",
208   "Udieresis",
209   "Ugrave",
210   "Yacute",
211   "Ydieresis",
212   "Zcaron",
213   "aacute",
214   "acircumflex",
215   "adieresis",
216   "agrave",
217   "aring",
218   "atilde",
219   "ccedilla",
220   "eacute",
221   "ecircumflex",
222   "edieresis",
223   "egrave",
224   "iacute",
225   "icircumflex",
226   "idieresis",
227   "igrave",
228   "ntilde",
229   "oacute",
230   "ocircumflex",
231   "odieresis",
232   "ograve",
233   "otilde",
234   "scaron",
235   "uacute",
236   "ucircumflex",
237   "udieresis",
238   "ugrave",
239   "yacute",
240   "ydieresis",
241   "zcaron",
242   "exclamsmall",
243   "Hungarumlautsmall",
244   "dollaroldstyle",
245   "dollarsuperior",
246   "ampersandsmall",
247   "Acutesmall",
248   "parenleftsuperior",
249   "parenrightsuperior",
250   "twodotenleader",
251   "onedotenleader",
252   "zerooldstyle",
253   "oneoldstyle",
254   "twooldstyle",
255   "threeoldstyle",
256   "fouroldstyle",
257   "fiveoldstyle",
258   "sixoldstyle",
259   "sevenoldstyle",
260   "eightoldstyle",
261   "nineoldstyle",
262   "commasuperior",
263   "threequartersemdash",
264   "periodsuperior",
265   "questionsmall",
266   "asuperior",
267   "bsuperior",
268   "centsuperior",
269   "dsuperior",
270   "esuperior",
271   "isuperior",
272   "lsuperior",
273   "msuperior",
274   "nsuperior",
275   "osuperior",
276   "rsuperior",
277   "ssuperior",
278   "tsuperior",
279   "ff",
280   "ffi",
281   "ffl",
282   "parenleftinferior",
283   "parenrightinferior",
284   "Circumflexsmall",
285   "hyphensuperior",
286   "Gravesmall",
287   "Asmall",
288   "Bsmall",
289   "Csmall",
290   "Dsmall",
291   "Esmall",
292   "Fsmall",
293   "Gsmall",
294   "Hsmall",
295   "Ismall",
296   "Jsmall",
297   "Ksmall",
298   "Lsmall",
299   "Msmall",
300   "Nsmall",
301   "Osmall",
302   "Psmall",
303   "Qsmall",
304   "Rsmall",
305   "Ssmall",
306   "Tsmall",
307   "Usmall",
308   "Vsmall",
309   "Wsmall",
310   "Xsmall",
311   "Ysmall",
312   "Zsmall",
313   "colonmonetary",
314   "onefitted",
315   "rupiah",
316   "Tildesmall",
317   "exclamdownsmall",
318   "centoldstyle",
319   "Lslashsmall",
320   "Scaronsmall",
321   "Zcaronsmall",
322   "Dieresissmall",
323   "Brevesmall",
324   "Caronsmall",
325   "Dotaccentsmall",
326   "Macronsmall",
327   "figuredash",
328   "hypheninferior",
329   "Ogoneksmall",
330   "Ringsmall",
331   "Cedillasmall",
332   "questiondownsmall",
333   "oneeighth",
334   "threeeighths",
335   "fiveeighths",
336   "seveneighths",
337   "onethird",
338   "twothirds",
339   "zerosuperior",
340   "foursuperior",
341   "fivesuperior",
342   "sixsuperior",
343   "sevensuperior",
344   "eightsuperior",
345   "ninesuperior",
346   "zeroinferior",
347   "oneinferior",
348   "twoinferior",
349   "threeinferior",
350   "fourinferior",
351   "fiveinferior",
352   "sixinferior",
353   "seveninferior",
354   "eightinferior",
355   "nineinferior",
356   "centinferior",
357   "dollarinferior",
358   "periodinferior",
359   "commainferior",
360   "Agravesmall",
361   "Aacutesmall",
362   "Acircumflexsmall",
363   "Atildesmall",
364   "Adieresissmall",
365   "Aringsmall",
366   "AEsmall",
367   "Ccedillasmall",
368   "Egravesmall",
369   "Eacutesmall",
370   "Ecircumflexsmall",
371   "Edieresissmall",
372   "Igravesmall",
373   "Iacutesmall",
374   "Icircumflexsmall",
375   "Idieresissmall",
376   "Ethsmall",
377   "Ntildesmall",
378   "Ogravesmall",
379   "Oacutesmall",
380   "Ocircumflexsmall",
381   "Otildesmall",
382   "Odieresissmall",
383   "OEsmall",
384   "Oslashsmall",
385   "Ugravesmall",
386   "Uacutesmall",
387   "Ucircumflexsmall",
388   "Udieresissmall",
389   "Yacutesmall",
390   "Thornsmall",
391   "Ydieresissmall",
392   "001.000",
393   "001.001",
394   "001.002",
395   "001.003",
396   "Black",
397   "Bold",
398   "Book",
399   "Light",
400   "Medium",
401   "Regular",
402   "Roman",
403   "Semibold"
404 };
405
406 static Gushort type1CISOAdobeCharset[229] = {
407     0,   1,   2,   3,   4,   5,   6,   7,   8,   9,
408    10,  11,  12,  13,  14,  15,  16,  17,  18,  19,
409    20,  21,  22,  23,  24,  25,  26,  27,  28,  29,
410    30,  31,  32,  33,  34,  35,  36,  37,  38,  39,
411    40,  41,  42,  43,  44,  45,  46,  47,  48,  49,
412    50,  51,  52,  53,  54,  55,  56,  57,  58,  59,
413    60,  61,  62,  63,  64,  65,  66,  67,  68,  69,
414    70,  71,  72,  73,  74,  75,  76,  77,  78,  79,
415    80,  81,  82,  83,  84,  85,  86,  87,  88,  89,
416    90,  91,  92,  93,  94,  95,  96,  97,  98,  99,
417   100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
418   110, 111, 112, 113, 114, 115, 116, 117, 118, 119,
419   120, 121, 122, 123, 124, 125, 126, 127, 128, 129,
420   130, 131, 132, 133, 134, 135, 136, 137, 138, 139,
421   140, 141, 142, 143, 144, 145, 146, 147, 148, 149,
422   150, 151, 152, 153, 154, 155, 156, 157, 158, 159,
423   160, 161, 162, 163, 164, 165, 166, 167, 168, 169,
424   170, 171, 172, 173, 174, 175, 176, 177, 178, 179,
425   180, 181, 182, 183, 184, 185, 186, 187, 188, 189,
426   190, 191, 192, 193, 194, 195, 196, 197, 198, 199,
427   200, 201, 202, 203, 204, 205, 206, 207, 208, 209,
428   210, 211, 212, 213, 214, 215, 216, 217, 218, 219,
429   220, 221, 222, 223, 224, 225, 226, 227, 228
430 };
431
432 static Gushort type1CExpertCharset[166] = {
433     0,   1, 229, 230, 231, 232, 233, 234, 235, 236,
434   237, 238,  13,  14,  15,  99, 239, 240, 241, 242,
435   243, 244, 245, 246, 247, 248,  27,  28, 249, 250,
436   251, 252, 253, 254, 255, 256, 257, 258, 259, 260,
437   261, 262, 263, 264, 265, 266, 109, 110, 267, 268,
438   269, 270, 271, 272, 273, 274, 275, 276, 277, 278,
439   279, 280, 281, 282, 283, 284, 285, 286, 287, 288,
440   289, 290, 291, 292, 293, 294, 295, 296, 297, 298,
441   299, 300, 301, 302, 303, 304, 305, 306, 307, 308,
442   309, 310, 311, 312, 313, 314, 315, 316, 317, 318,
443   158, 155, 163, 319, 320, 321, 322, 323, 324, 325,
444   326, 150, 164, 169, 327, 328, 329, 330, 331, 332,
445   333, 334, 335, 336, 337, 338, 339, 340, 341, 342,
446   343, 344, 345, 346, 347, 348, 349, 350, 351, 352,
447   353, 354, 355, 356, 357, 358, 359, 360, 361, 362,
448   363, 364, 365, 366, 367, 368, 369, 370, 371, 372,
449   373, 374, 375, 376, 377, 378
450 };
451
452 static Gushort type1CExpertSubsetCharset[87] = {
453     0,   1, 231, 232, 235, 236, 237, 238,  13,  14,
454    15,  99, 239, 240, 241, 242, 243, 244, 245, 246,
455   247, 248,  27,  28, 249, 250, 251, 253, 254, 255,
456   256, 257, 258, 259, 260, 261, 262, 263, 264, 265,
457   266, 109, 110, 267, 268, 269, 270, 272, 300, 301,
458   302, 305, 314, 315, 158, 155, 163, 320, 321, 322,
459   323, 324, 325, 326, 150, 164, 169, 327, 328, 329,
460   330, 331, 332, 333, 334, 335, 336, 337, 338, 339,
461   340, 341, 342, 343, 344, 345, 346
462 };
463
464 #endif