home *** CD-ROM | disk | FTP | other *** search
/ PSION CD 2 / PsionCDVol2.iso / Programs / 720 / PDF090B4-SorceCode / pdf / CompactFontInfo.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-30  |  8.8 KB  |  470 lines

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