summaryrefslogtreecommitdiff
path: root/src/Postscript.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <johannes.hofmann@gmx.de>2005-04-19 18:29:58 +0000
committerJohannes Hofmann <johannes.hofmann@gmx.de>2005-04-19 18:29:58 +0000
commit35cd9e1b7243a7c0668ba52a6c1afbf1da3d8b1c (patch)
treefba7b40243ae19edde43d6ba7e84fddc01c6e37d /src/Postscript.cxx
parent7c4f197866a4f83ad497a9ba48209918a4913d4f (diff)
add support for a whole bunch of special characters (Patch by Thadeu Penna)
add support for a whole bunch of special characters (Patch by Thadeu Penna)
Diffstat (limited to 'src/Postscript.cxx')
-rw-r--r--src/Postscript.cxx97
1 files changed, 96 insertions, 1 deletions
diff --git a/src/Postscript.cxx b/src/Postscript.cxx
index fb93423..c0270ab 100644
--- a/src/Postscript.cxx
+++ b/src/Postscript.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Postscript.cxx,v 1.14 2005/02/28 19:53:58 hofmann Exp $"
+// "$Id: Postscript.cxx,v 1.15 2005/04/19 20:29:58 hofmann Exp $"
//
// Postscript handling routines.
//
@@ -68,6 +68,101 @@ static struct {
{"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", "ÿ"},
{NULL, NULL}};
static const char * glyph_to_char(char *glyph) {