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