Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
* pdf/pdf-document.cc: Patch from Fernando Herrera
<fherrera@onirica.com> to fix my quick fix to get_thumbnail.
*blush*
+Fri Mar 25 16:55:58 2005 Jonathan Blandford <jrb@redhat.com>
+
+ * pdf/pdf-document.cc: Patch from Fernando Herrera
+ <fherrera@onirica.com> to fix my quick fix to get_thumbnail.
+ *blush*
+
Wed Mar 23 23:49:41 2005 Jonathan Blandford <jrb@redhat.com>
* pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
output = new SplashOutputDev (splashModeRGB8, gFalse, color);
output->startDoc (pdf_document->doc->getXRef());
pdf_document->doc->displayPage (output,
- page_num,
+ page_num + 1,
72*scale_factor,
72*scale_factor,
0, gTrue, gFalse);
Thumb *thumb = NULL;
gboolean have_ethumbs = FALSE;
- /* Add 1 to page. !@#!!~!#!@#! */
- page ++;
-
- the_page = pdf_document->doc->getCatalog ()->getPage (page);
+ the_page = pdf_document->doc->getCatalog ()->getPage (page + 1);
the_page->getThumb(&the_thumb);
if (!(the_thumb.isNull () || the_thumb.isNone())) {