Blame SOURCES/paps-fix-paper-size-truncate.patch

41a383
diff -pruN paps-0.6.8.orig/src/paps.c paps-0.6.8/src/paps.c
41a383
--- paps-0.6.8.orig/src/paps.c	2015-04-24 11:49:53.220718394 +0900
41a383
+++ paps-0.6.8/src/paps.c	2015-04-24 11:51:30.847718394 +0900
41a383
@@ -532,9 +532,9 @@ int main(int argc, char *argv[])
41a383
 
41a383
   /* Page layout */
41a383
   if (page_width < 0)
41a383
-    page_width = paper_sizes[(int)paper_type].width;
41a383
+    page_width = (paper_sizes[(int)paper_type].width + 0.5);
41a383
   if (page_height < 0)
41a383
-    page_height = paper_sizes[(int)paper_type].height;
41a383
+    page_height = (paper_sizes[(int)paper_type].height + 0.5);
41a383
   
41a383
   if (num_columns == 1)
41a383
     total_gutter_width = 0;