diff options
Diffstat (limited to 'debian/patches/fix_pdf_floats.patch')
-rw-r--r-- | debian/patches/fix_pdf_floats.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/debian/patches/fix_pdf_floats.patch b/debian/patches/fix_pdf_floats.patch index 39a0592..869deee 100644 --- a/debian/patches/fix_pdf_floats.patch +++ b/debian/patches/fix_pdf_floats.patch @@ -4,10 +4,10 @@ Description: Fix floats in PDF and PostScript Author: Julien BLACHE <jblache@debian.org> Forwarded: yes -Index: xsane-0.996/src/xsane-save.c +Index: xsane-0.998/src/xsane-save.c =================================================================== ---- xsane-0.996.orig/src/xsane-save.c 2010-03-13 20:42:23.891741843 +0100 -+++ xsane-0.996/src/xsane-save.c 2010-03-13 20:43:02.545741964 +0100 +--- xsane-0.998.orig/src/xsane-save.c 2010-11-16 22:06:00.000000000 +0100 ++++ xsane-0.998/src/xsane-save.c 2011-02-04 19:51:01.557016000 +0100 @@ -26,6 +26,8 @@ #include "xsane-back-gtk.h" #include "xsane-front-gtk.h" @@ -17,7 +17,7 @@ Index: xsane-0.996/src/xsane-save.c #include <time.h> #include <sys/wait.h> -@@ -2411,6 +2413,7 @@ +@@ -2415,6 +2417,7 @@ int flatedecode) { int depth; @@ -25,7 +25,7 @@ Index: xsane-0.996/src/xsane-save.c depth = image_info->depth; -@@ -2428,8 +2431,15 @@ +@@ -2432,8 +2435,15 @@ fprintf(outfile, "%d rotate\n", degree); fprintf(outfile, "%d %d translate\n", position_left, position_bottom); @@ -41,7 +41,7 @@ Index: xsane-0.996/src/xsane-save.c fprintf(outfile, "<<\n"); fprintf(outfile, " /ImageType 1\n"); fprintf(outfile, " /Width %d\n", image_info->image_width); -@@ -3889,6 +3899,7 @@ +@@ -3895,6 +3905,7 @@ int position_left, position_bottom, box_left, box_bottom, box_right, box_top, depth; int left, bottom; float rad; @@ -49,7 +49,7 @@ Index: xsane-0.996/src/xsane-save.c DBG(DBG_proc, "xsane_save_pdf_create_page_header\n"); -@@ -4003,8 +4014,16 @@ +@@ -4009,8 +4020,16 @@ fprintf(outfile, "q\n"); fprintf(outfile, "1 0 0 1 %d %d cm\n", position_left, position_bottom); /* translate */ |