From 5f8665905e640372b862cfe30b71628cd1e40051 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Thu, 3 Jun 1999 22:00:55 +0000 Subject: [PATCH] More bits. --- pdf/xpdf/ChangeLog | 3 +++ pdf/xpdf/gpdf.cc | 9 ++------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/pdf/xpdf/ChangeLog b/pdf/xpdf/ChangeLog index 81019bd6..5da3a36c 100644 --- a/pdf/xpdf/ChangeLog +++ b/pdf/xpdf/ChangeLog @@ -1,5 +1,8 @@ 1999-06-03 Michael Meeks + * GOutputDev.cc (GOutputDev): Actually set up pixmapW & H + (GOutputDev): Setup 'depth' correctly. + * gpdf.cc (main): Moved freeParams() to after the main loop ! diff --git a/pdf/xpdf/gpdf.cc b/pdf/xpdf/gpdf.cc index 147222b4..5eff1401 100644 --- a/pdf/xpdf/gpdf.cc +++ b/pdf/xpdf/gpdf.cc @@ -102,16 +102,11 @@ doc_config_event (GtkWidget *widget, void *ugly) widget->allocation.height, -1); + printf ("Creating pixmap of size %d %d\n", + widget->allocation.width, widget->allocation.height); gdk_color_white (gtk_widget_get_default_colormap(), &doc->paper); doc->out = new GOutputDev (doc->pixmap, doc->paper); -/* gdk_draw_rectangle (doc->pixmap, - widget->style->white_gc, - TRUE, - 0, 0, - widget->allocation.width, - widget->allocation.height);*/ - printf ("Configured...\n"); return TRUE; } -- 2.43.5