summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2006-08-13 20:16:22 -0400
committerBehdad Esfahbod <behdad@behdad.org>2006-08-13 20:16:22 -0400
commitc802cd2d62be5fd0b11d6da10360788f20b721c6 (patch)
tree89f4c5b4ea2d79bfacd1c2e3d77b5ab6d530281e /src
parente5f36a54daf376f34596a285402a3e30ee0a6a64 (diff)
downloadcairo-c802cd2d62be5fd0b11d6da10360788f20b721c6.tar.gz
[Type1] Synch comments in the encoding table
Diffstat (limited to 'src')
-rw-r--r--src/cairo-type1-subset.c126
1 files changed, 80 insertions, 46 deletions
diff --git a/src/cairo-type1-subset.c b/src/cairo-type1-subset.c
index f9606e021..f439c8dc3 100644
--- a/src/cairo-type1-subset.c
+++ b/src/cairo-type1-subset.c
@@ -481,52 +481,86 @@ cairo_type1_font_subset_decode_integer (const unsigned char *p, int *integer)
}
static const char *ps_standard_encoding[256] = {
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* 0 */
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* 16 */
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- "space", "exclam", "quotedbl", "numbersign", /* 32 */
- "dollar", "percent", "ampersand", "quoteright",
- "parenleft", "parenright", "asterisk", "plus",
- "comma", "hyphen", "period", "slash",
- "zero", "one", "two", "three", /* 48 */
- "four", "five", "six", "seven", "eight",
- "nine", "colon", "semicolon", "less",
- "equal", "greater", "question", "at",
- "A", "B", "C", "D", "E", "F", "G", "H", /* 64 */
- "I", "J", "K", "L", "M", "N", "O", "P",
- "Q", "R", "S", "T", "U", "V", "W", "X", /* 80 */
- "Y", "Z", "bracketleft", "backslash",
- "bracketright", "asciicircum", "underscore", "quoteleft",
- "a", "b", "c", "d", "e", "f", "g", "h", /* 96 */
- "i", "j", "k", "l", "m", "n", "o", "p",
- "q", "r", "s", "t", "u", "v", "w", "x", /* 112 */
- "y", "z", "braceleft", "bar",
- "braceright", "asciitilde", NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* 128 */
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* 144 */
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- "exclamdown", "cent", "sterling", "fraction", /* 160 */
- "yen", "florin", "section", "currency",
- "quotesingle", "quotedblleft", "guillemotleft", "guilsinglleft",
- "guilsinglright", "fi", "fl", NULL,
- "endash", "dagger", "daggerdbl", "periodcentered", /* 176 */
- NULL, "paragraph", "bullet", "quotesinglbase",
- "quotedblbase", "quotedblright", "guillemotright", "ellipsis",
- "perthousand", NULL, "questiondown", NULL,
- "grave", "acute", "circumflex", "tilde", /* 192 */
- "macron", "breve", "dotaccent", "dieresis",
- NULL, "ring", "cedilla", NULL,
- "hungarumlaut", "ogonek", "caron", "emdash",
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* 208 */
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- "AE", NULL, "ordfeminine", NULL, /* 224 */
- NULL, NULL, NULL, "Lslash",
- "Oslash", "OE", "ordmasculine", NULL, NULL, NULL, NULL, NULL,
- "ae", NULL, NULL, NULL, /* 240 */
- "dotlessi", NULL, NULL, "lslash",
- "oslash", "oe", "germandbls", NULL, NULL, NULL, NULL
+ /* 0 */
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ /* 16 */
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ /* 32 */
+ "space", "exclam", "quotedbl", "numbersign",
+ "dollar", "percent", "ampersand", "quoteright",
+ "parenleft", "parenright", "asterisk", "plus",
+ "comma", "hyphen", "period", "slash",
+ /* 48 */
+ "zero", "one", "two", "three",
+ "four", "five", "six", "seven",
+ "eight", "nine", "colon", "semicolon",
+ "less", "equal", "greater", "question",
+ /* 64 */
+ "at", "A", "B", "C",
+ "D", "E", "F", "G",
+ "H", "I", "J", "K",
+ "L", "M", "N", "O",
+ /* 80 */
+ "P", "Q", "R", "S",
+ "T", "U", "V", "W",
+ "X", "Y", "Z", "bracketleft",
+ "backslash", "bracketright", "asciicircum", "underscore",
+ /* 96 */
+ "quoteleft", "a", "b", "c",
+ "d", "e", "f", "g",
+ "h", "i", "j", "k",
+ "l", "m", "n", "o",
+ /* 112 */
+ "p", "q", "r", "s",
+ "t", "u", "v", "w",
+ "x", "y", "z", "braceleft",
+ "bar", "braceright", "asciitilde", NULL,
+ /* 128 */
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ /* 144 */
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ /* 160 */
+ NULL, "exclamdown", "cent", "sterling",
+ "fraction", "yen", "florin", "section",
+ "currency", "quotesingle", "quotedblleft", "guillemotleft",
+ "guilsinglleft","guilsinglright","fi", "fl",
+ /* 176 */
+ NULL, "endash", "dagger", "daggerdbl",
+ "periodcentered",NULL, "paragraph", "bullet",
+ "quotesinglbase","quotedblbase","quotedblright","guillemotright",
+ "ellipsis", "perthousand", NULL, "questiondown",
+ /* 192 */
+ NULL, "grave", "acute", "circumflex",
+ "tilde", "macron", "breve", "dotaccent",
+ "dieresis", NULL, "ring", "cedilla",
+ NULL, "hungarumlaut", "ogonek", "caron",
+ /* 208 */
+ "emdash", NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL,
+ /* 224 */
+ NULL, "AE", NULL, "ordfeminine",
+ NULL, NULL, NULL, NULL,
+ "Lslash", "Oslash", "OE", "ordmasculine",
+ NULL, NULL, NULL, NULL,
+ /* 240 */
+ NULL, "ae", NULL, NULL,
+ NULL, "dotlessi", NULL, NULL,
+ "lslash", "oslash", "oe", "germandbls",
+ NULL, NULL, NULL, NULL
};
static void