[poppler] poppler/glib: poppler-page.cc,1.28.2.7,1.28.2.8

Kristian Høgsberg krh at freedesktop.org
Wed Oct 5 08:57:00 PDT 2005


Update of /cvs/poppler/poppler/glib
In directory gabe:/tmp/cvs-serv14916/glib

Modified Files:
      Tag: POPPLER_0_4_X
	poppler-page.cc 
Log Message:
2005-10-05  Kristian Høgsberg  <krh at redhat.com>

        * glib/poppler-page.cc (poppler_page_render_to_ps): Fix another
        off-by-one page number error (#4555).



Index: poppler-page.cc
===================================================================
RCS file: /cvs/poppler/poppler/glib/poppler-page.cc,v
retrieving revision 1.28.2.7
retrieving revision 1.28.2.8
diff -u -d -r1.28.2.7 -r1.28.2.8
--- poppler-page.cc	2 Sep 2005 03:24:17 -0000	1.28.2.7
+++ poppler-page.cc	5 Oct 2005 15:56:54 -0000	1.28.2.8
@@ -686,7 +686,7 @@
     ps_file->out = new PSOutputDev (ps_file->filename,
                                     ps_file->document->doc->getXRef(),
                                     ps_file->document->doc->getCatalog(),
-                                    ps_file->first_page + 1, ps_file->last_page,
+                                    ps_file->first_page, ps_file->last_page,
                                     psModePS, (int)ps_file->paper_width,
                                     (int)ps_file->paper_height, ps_file->duplex,
                                     0, 0, 0, 0, gFalse);



More information about the poppler mailing list