From: kramm Date: Sun, 9 Sep 2007 18:21:54 +0000 (+0000) Subject: removed experimental splash code (not compatible with current xpdf 3.02) X-Git-Tag: buttons-working~548 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=8ae635edba5d165a5f6ad336389a4299a04003e2 removed experimental splash code (not compatible with current xpdf 3.02) --- 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()); }