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

New commits:
commit 7c3140c88c00282e10888143fffe3c402d48fb05
Author: Adrian Johnson <[email protected]>
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 <[email protected]>
 // Copyright (C) 2009 William Bader <[email protected]>
 // Copyright (C) 2009 Kovid Goyal <[email protected]>
-// Copyright (C) 2009 Adrian Johnson <[email protected]>
+// Copyright (C) 2009, 2010 Adrian Johnson <[email protected]>
 //
 // 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);
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to