X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2FInfoOutputDev.cc;h=7c83566ab4d4dc2f1ab05403fbf63cbd402490ec;hb=4af346b956d4922d0ea6322e3e1f52ec1beff2d7;hp=2bcbdaa8e9d9c1bbeb506f310268933aaf73a9d4;hpb=5e1686223c09f4c1860a47f45d7f9750426154b7;p=swftools.git diff --git a/lib/pdf/InfoOutputDev.cc b/lib/pdf/InfoOutputDev.cc index 2bcbdaa..7c83566 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() { @@ -22,6 +22,7 @@ InfoOutputDev::~InfoOutputDev() GBool InfoOutputDev::upsideDown() {return gTrue;} GBool InfoOutputDev::useDrawChar() {return gTrue;} GBool InfoOutputDev::interpretType3Chars() {return gTrue;} +GBool InfoOutputDev::useTilingPatternFill() {return gTrue;} void InfoOutputDev::startPage(int pageNum, GfxState *state, double crop_x1, double crop_y1, double crop_x2, double crop_y2) { double x1,y1,x2,y2; @@ -82,8 +83,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()); }