[poppler] poppler/test: pdf-inspector.cc,1.3,1.4

Albert Astals Cid aacid at freedesktop.org
Sat Dec 3 14:20:56 PST 2005


Update of /cvs/poppler/poppler/test
In directory gabe:/tmp/cvs-serv8057/test

Modified Files:
	pdf-inspector.cc 
Log Message:
 * qt4/src/poppler-qt4.h:
 * qt4/src/poppler-fontinfo.cc:
 * qt4/src/poppler-textbox.cc: Remove implementation of that classes from the header, use pimpl


Index: pdf-inspector.cc
===================================================================
RCS file: /cvs/poppler/poppler/test/pdf-inspector.cc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- pdf-inspector.cc	22 Nov 2005 21:50:44 -0000	1.3
+++ pdf-inspector.cc	3 Dec 2005 22:20:54 -0000	1.4
@@ -30,6 +30,7 @@
 
 #include "PDFDoc.h"
 #include "GlobalParams.h"
+#include "SplashOutputDev.h"
 #include "ErrorCodes.h"
 #include <gtk/gtk.h>
 #include <glade/glade.h>
@@ -66,7 +67,7 @@
   GladeXML *xml;
   GtkTreeModel *model;
   PDFDoc *doc;
-  CairoOutputDev *output;
+  SplashOutputDev *output;
 };
 
 
@@ -128,7 +129,11 @@
       gtk_tree_view_column_set_sort_column_id (column, i);
     }
   doc = NULL;
-  output = new CairoOutputDev ();
+  SplashColor white;
+  white[0] = 255;
+  white[1] = 255;
+  white[2] = 255;
+  output = new SplashOutputDev(splashModeRGB8, 4, gFalse, white);
 
   // set up initial widgets
   load (NULL);



More information about the poppler mailing list