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

New commits:
commit 3e802949264d9310df057daff891a3fccb2eb8d3
Author: Albert Astals Cid <[email protected]>
Date:   Wed Aug 15 00:02:23 2012 +0200

    PSOutputDev: Always write HiResBoundingBox
    
    Makes some people happier and it doesn't hurt us much
    Bug #53159

diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index f414897..93b078a 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -15,7 +15,7 @@
 //
 // Copyright (C) 2005 Martin Kretzschmar <[email protected]>
 // Copyright (C) 2005, 2006 Kristian Høgsberg <[email protected]>
-// Copyright (C) 2006-2009, 2011 Albert Astals Cid <[email protected]>
+// Copyright (C) 2006-2009, 2011, 2012 Albert Astals Cid <[email protected]>
 // Copyright (C) 2006 Jeff Muizelaar <[email protected]>
 // Copyright (C) 2007, 2008 Brad Hards <[email protected]>
 // Copyright (C) 2008, 2009 Koji Otani <[email protected]>
@@ -1469,11 +1469,8 @@ void PSOutputDev::writeHeader(int firstPage, int 
lastPage,
     }
     writePSFmt("%%BoundingBox: {0:d} {1:d} {2:d} {3:d}\n",
               (int)floor(x1), (int)floor(y1), (int)ceil(x2), (int)ceil(y2));
-    if (floor(x1) != ceil(x1) || floor(y1) != ceil(y1) ||
-       floor(x2) != ceil(x2) || floor(y2) != ceil(y2)) {
-      writePSFmt("%%HiResBoundingBox: {0:.6g} {1:.6g} {2:.6g} {3:.6g}\n",
+    writePSFmt("%%HiResBoundingBox: {0:.6g} {1:.6g} {2:.6g} {3:.6g}\n",
                 x1, y1, x2, y2);
-    }
     writePS("%%DocumentSuppliedResources: (atend)\n");
     writePS("%%EndComments\n");
     break;
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to