summaryrefslogtreecommitdiff
path: root/debian/patches/0115-Fix_text_filter.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0115-Fix_text_filter.patch')
-rw-r--r--debian/patches/0115-Fix_text_filter.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/0115-Fix_text_filter.patch b/debian/patches/0115-Fix_text_filter.patch
new file mode 100644
index 0000000..652aa1b
--- /dev/null
+++ b/debian/patches/0115-Fix_text_filter.patch
@@ -0,0 +1,16 @@
+Index: trunk/fileconverter.c
+===================================================================
+--- trunk.orig/fileconverter.c
++++ trunk/fileconverter.c
+@@ -37,9 +37,9 @@
+ * is not set. (Except if the spooler is CUPS, then 'texttops' is used
+ */
+ const char *fileconverters[][2] = {
+- { "a2ps", "a2ps -1 @@--medium=@@PAGESIZE@@ @@--center-title=@@JOBTITLE@@ -o -" },
++ { "a2ps", "a2ps -1 @@--medium=@@PAGESIZE@@ @@--center-title=\"@@JOBTITLE@@ -o -" },
+ { "enscript", "enscript -G @@-M @@PAGESIZE@@ @@-b \"Page $%|@@JOBTITLE@@ --margins=36:36:36:36 --mark-wrapped-lines=arrow --word-wrap -p-" },
+- { "mpage", "mpage -o -1 @@-b @@PAGESIZE@@ @@-H -h @@JOBTITLE@@ -m36l36b36t36r -f -P- -" },
++ { "mpage", "mpage -o -1 @@-b @@PAGESIZE@@ @@-H -h \"@@JOBTITLE@@ -m36l36b36t36r -f -P- -" },
+ { "paps", "paps @@--paper @@PAGESIZE@@ --header --font=11.5" },
+ { NULL, NULL }
+ };