From 765a27194f3d42fcc35061bfefffdcb6d79d8dd5 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Sat, 27 Feb 2010 03:04:51 +1030 Subject: [PATCH] Don't use '\' character in PostScript names Ensure it is escaped. --- poppler/PSOutputDev.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc index f577425..3d169e8 100644 --- a/poppler/PSOutputDev.cc +++ b/poppler/PSOutputDev.cc @@ -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); -- 1.6.3.3