From 35cd9e1b7243a7c0668ba52a6c1afbf1da3d8b1c Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 19 Apr 2005 18:29:58 +0000 Subject: 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) --- src/Postscript.cxx | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 96 insertions(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3