From 8ae635edba5d165a5f6ad336389a4299a04003e2 Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 9 Sep 2007 18:21:54 +0000 Subject: [PATCH] removed experimental splash code (not compatible with current xpdf 3.02) --- lib/pdf/InfoOutputDev.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/pdf/InfoOutputDev.cc b/lib/pdf/InfoOutputDev.cc index 2bcbdaa..13733cb 100644 --- a/lib/pdf/InfoOutputDev.cc +++ b/lib/pdf/InfoOutputDev.cc @@ -12,8 +12,8 @@ InfoOutputDev::InfoOutputDev(XRef*xref) num_fonts = 0; id2font = new GHash(); SplashColor white = {255,255,255}; - splash = new SplashOutputDev(splashModeRGB8,320,0,white,0,0); - splash->startDoc(xref); + //splash = new SplashOutputDev(splashModeRGB8,320,0,white,0,0); + //splash->startDoc(xref); } InfoOutputDev::~InfoOutputDev() { @@ -82,8 +82,9 @@ void InfoOutputDev::updateFont(GfxState *state) } currentfont = info; - splash->doUpdateFont(state); - SplashFont* splash_font = splash->font; + //splash->doUpdateFont(state); + //SplashFont* splash_font = splash->getCurrentFont(); + //printf("%s: %d chars\n", id, splash_font->getNumChars()); } -- 1.7.10.4