summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Postscript.cxx204
1 files changed, 102 insertions, 102 deletions
diff --git a/src/Postscript.cxx b/src/Postscript.cxx
index 6a5b79f..1e15ff1 100644
--- a/src/Postscript.cxx
+++ b/src/Postscript.cxx
@@ -34,112 +34,112 @@ static struct {
const char *glyph;
const char *c;
} glyph_char[] = {
- {"adieresis", "ä"},
- {"Adieresis", "Ä"},
- {"odieresis", "ö"},
- {"Odieresis", "Ö"},
- {"udieresis", "ü"},
- {"Udieresis", "Ü"},
- {"germandbls", "ß"},
+ {"adieresis", "\xE4"},
+ {"Adieresis", "\xC4"},
+ {"odieresis", "\xF6"},
+ {"Odieresis", "\xD6"},
+ {"udieresis", "\xFC"},
+ {"Udieresis", "\xDC"},
+ {"germandbls", "\xDF"},
{"parenleft", "("},
{"parenright", ")"},
{"percent", "%"},
{"backslash", "\\"},
- {"exclamdown", "¡"},
- {"cent", "¢"},
- {"sterling", "£"},
- {"currency", "¤"},
- {"yen", "¥"},
- {"brokenbar", "¦"},
- {"section", "§"},
- {"diaeresis", "¨"},
- {"copyright", "©"},
- {"ordfeminine","ª"},
- {"guillemotleft","«"},
- {"notsign", "¬"},
- {"hyphen", "­"},
- {"registered", "®"},
- {"macron", "¯"},
- {"degree", "°"},
- {"plusminus", "±"},
- {"twosuperior","²"},
- {"threesuperior","³"},
- {"acute", "´"},
- {"mu", "µ"},
- {"paragraph", "¶"},
- {"periodcentered","·"},
- {"cedilla", "¸"},
- {"onesuperior","¹"},
- {"masculine", "º"},
- {"guillemotright","»"},
- {"onequarter", "¼"},
- {"onehalf", "½"},
- {"threequarters","¾"},
- {"questiondown","¿"},
- {"Agrave", "À"},
- {"Aacute", "Á"},
- {"Acircumflex", "Â"},
- {"Atilde", "Ã"},
- {"Adiaeresis", "Ä"},
- {"Aring", "Å"},
- {"AE", "Æ"},
- {"Ccedilla", "Ç"},
- {"Egrave", "È"},
- {"Eacute", "É"},
- {"Ecircumflex", "Ê"},
- {"Ediaeresis", "Ë"},
- {"Igrave", "Ì"},
- {"Iacute", "Í"},
- {"Icircumflex", "Î"},
- {"Idiaeresis", "Ï"},
- {"ETH", "Ð"},
- {"Ntilde", "Ñ"},
- {"Ograve", "Ò"},
- {"Oacute", "Ó"},
- {"Ocircumflex", "Ô"},
- {"Otilde", "Õ"},
- {"Odiaeresis", "Ö"},
- {"multiply", "×"},
- {"Ooblique", "Ø"},
- {"Ugrave", "Ù"},
- {"Uacute", "Ú"},
- {"Ucircumflex", "Û"},
- {"Udiaeresis", "Ü"},
- {"Yacute", "Ý"},
- {"THORN", "Þ"},
- {"ssharp", "ß"},
- {"agrave", "à"},
- {"aacute", "á"},
- {"acircumflex", "â"},
- {"atilde", "ã"},
- {"adiaeresis", "ä"},
- {"aring", "å"},
- {"ae", "æ"},
- {"ccedilla", "ç"},
- {"egrave", "è"},
- {"eacute", "é"},
- {"ecircumflex", "ê"},
- {"ediaeresis", "ë"},
- {"igrave", "ì"},
- {"iacute", "í"},
- {"icircumflex", "î"},
- {"idiaeresis", "ï"},
- {"eth", "ð"},
- {"ntilde", "ñ"},
- {"ograve", "ò"},
- {"oacute", "ó"},
- {"ocircumflex", "ô"},
- {"otilde", "õ"},
- {"odiaeresis", "ö"},
- {"division", "÷"},
- {"oslash", "ø"},
- {"ugrave", "ù"},
- {"uacute", "ú"},
- {"ucircumflex", "û"},
- {"udiaeresis", "ü"},
- {"yacute", "ý"},
- {"thorn", "þ"},
- {"ydiaeresis", "ÿ"},
+ {"exclamdown", "\xA1"},
+ {"cent", "\xA2"},
+ {"sterling", "\xA3"},
+ {"currency", "\xA4"},
+ {"yen", "\xA5"},
+ {"brokenbar", "\xA6"},
+ {"section", "\xA7"},
+ {"diaeresis", "\xA8"},
+ {"copyright", "\xA9"},
+ {"ordfeminine","\xAA"},
+ {"guillemotleft","\xAB"},
+ {"notsign", "\xAC"},
+ {"hyphen", "\xAD"},
+ {"registered", "\xAE"},
+ {"macron", "\xAF"},
+ {"degree", "\xB0"},
+ {"plusminus", "\xB1"},
+ {"twosuperior","\xB2"},
+ {"threesuperior","\xB3"},
+ {"acute", "\xB4"},
+ {"mu", "\xB5"},
+ {"paragraph", "\xB6"},
+ {"periodcentered","\xB7"},
+ {"cedilla", "\xB8"},
+ {"onesuperior","\xB9"},
+ {"masculine", "\xBA"},
+ {"guillemotright","\xBB"},
+ {"onequarter", "\xBC"},
+ {"onehalf", "\xBD"},
+ {"threequarters","\xBE"},
+ {"questiondown","\xBF"},
+ {"Agrave", "\xC0"},
+ {"Aacute", "\xC1"},
+ {"Acircumflex", "\xC2"},
+ {"Atilde", "\xC3"},
+ {"Adiaeresis", "\xC4"},
+ {"Aring", "\xC5"},
+ {"AE", "\xC6"},
+ {"Ccedilla", "\xC7"},
+ {"Egrave", "\xC8"},
+ {"Eacute", "\xC9"},
+ {"Ecircumflex", "\xCA"},
+ {"Ediaeresis", "\xCB"},
+ {"Igrave", "\xCC"},
+ {"Iacute", "\xCD"},
+ {"Icircumflex", "\xCE"},
+ {"Idiaeresis", "\xCF"},
+ {"ETH", "\xD0"},
+ {"Ntilde", "\xD1"},
+ {"Ograve", "\xD2"},
+ {"Oacute", "\xD3"},
+ {"Ocircumflex", "\xD4"},
+ {"Otilde", "\xD5"},
+ {"Odiaeresis", "\xD6"},
+ {"multiply", "\xD7"},
+ {"Ooblique", "\xD8"},
+ {"Ugrave", "\xD9"},
+ {"Uacute", "\xDA"},
+ {"Ucircumflex", "\xDB"},
+ {"Udiaeresis", "\xDC"},
+ {"Yacute", "\xDD"},
+ {"THORN", "\xDE"},
+ {"ssharp", "\xDF"},
+ {"agrave", "\xE0"},
+ {"aacute", "\xE1"},
+ {"acircumflex", "\xE2"},
+ {"atilde", "\xE3"},
+ {"adiaeresis", "\xE4"},
+ {"aring", "\xE5"},
+ {"ae", "\xE6"},
+ {"ccedilla", "\xE7"},
+ {"egrave", "\xE8"},
+ {"eacute", "\xE9"},
+ {"ecircumflex", "\xEA"},
+ {"ediaeresis", "\xEB"},
+ {"igrave", "\xEC"},
+ {"iacute", "\xED"},
+ {"icircumflex", "\xEE"},
+ {"idiaeresis", "\xEF"},
+ {"eth", "\xF0"},
+ {"ntilde", "\xF1"},
+ {"ograve", "\xF2"},
+ {"oacute", "\xF3"},
+ {"ocircumflex", "\xF4"},
+ {"otilde", "\xF5"},
+ {"odiaeresis", "\xF6"},
+ {"division", "\xF7"},
+ {"oslash", "\xF8"},
+ {"ugrave", "\xF9"},
+ {"uacute", "\xFA"},
+ {"ucircumflex", "\xFB"},
+ {"udiaeresis", "\xFC"},
+ {"yacute", "\xFD"},
+ {"thorn", "\xFE"},
+ {"ydiaeresis", "\xFF"},
{NULL, NULL}};
static const char * glyph_to_char(char *glyph) {