[poppler] poppler/PSOutputDev.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sat Feb 27 04:14:06 PST 2010


 poppler/PSOutputDev.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7c3140c88c00282e10888143fffe3c402d48fb05
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Sat Feb 27 13:13:47 2010 +0100

    Don't use '\' character in PostScript names

diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index f577425..179a494 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -25,7 +25,7 @@
 // Copyright (C) 2009 Carlos Garcia Campos <carlosgc at gnome.org>
 // Copyright (C) 2009 William Bader <williambader at hotmail.com>
 // Copyright (C) 2009 Kovid Goyal <kovid at kovidgoyal.net>
-// Copyright (C) 2009 Adrian Johnson <ajohnson at redneon.com>
+// Copyright (C) 2009, 2010 Adrian Johnson <ajohnson at redneon.com>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -6492,7 +6492,7 @@ void PSOutputDev::writePSName(char *s) {
     if (c <= (char)0x20 || c >= (char)0x7f ||
 	c == '(' || c == ')' || c == '<' || c == '>' ||
 	c == '[' || c == ']' || c == '{' || c == '}' ||
-	c == '/' || c == '%') {
+	c == '/' || c == '%' || c == '\\') {
       writePSFmt("#{0:02x}", c & 0xff);
     } else {
       writePSChar(c);


More information about the poppler mailing list