[cairo-commit] src/cairo-type1-subset.c

Behdad Esfahbod behdad at kemper.freedesktop.org
Sun Aug 13 17:16:30 PDT 2006


 src/cairo-type1-subset.c |  126 +++++++++++++++++++++++++++++------------------
 1 files changed, 80 insertions(+), 46 deletions(-)

New commits:
diff-tree c802cd2d62be5fd0b11d6da10360788f20b721c6 (from e5f36a54daf376f34596a285402a3e30ee0a6a64)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Sun Aug 13 20:16:22 2006 -0400

    [Type1] Synch comments in the encoding table

diff --git a/src/cairo-type1-subset.c b/src/cairo-type1-subset.c
index f9606e0..f439c8d 100644
--- a/src/cairo-type1-subset.c
+++ b/src/cairo-type1-subset.c
@@ -481,52 +481,86 @@ cairo_type1_font_subset_decode_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


More information about the cairo-commit mailing list