+2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
+
+ * pdf/pdf-document.cc:
+
+ Remove 4 pixels of useless border from the
+ thumbnail.
+
2005-03-07 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document-thumbnails.c:
if (border) {
pixbuf = ev_document_misc_get_thumbnail_frame (width, height, NULL);
+ bitmap_to_pixbuf (output->getBitmap(), pixbuf, 1, 1);
} else {
pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8,
- width + 4, height + 4);
+ width, height);
gdk_pixbuf_fill (pixbuf, 0xffffffff);
+ bitmap_to_pixbuf (output->getBitmap(), pixbuf, 0, 0);
}
- bitmap_to_pixbuf (output->getBitmap(), pixbuf, 1, 1);
delete output;
return pixbuf;