git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
patched SplashOutputDev.h and GlobalParams.h
[swftools.git]
/
lib
/
pdf
/
InfoOutputDev.cc
diff --git
a/lib/pdf/InfoOutputDev.cc
b/lib/pdf/InfoOutputDev.cc
index
2bcbdaa
..
7c83566
100644
(file)
--- 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};
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()
{
}
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::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;
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;
}
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());
}
//printf("%s: %d chars\n", id, splash_font->getNumChars());
}