X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=pdf2swf%2FSWFOutputDev.cc;h=c6ad24ea344a4a60794929fb55dabbbeb7a2d4e5;hb=00d2709df63c37a3467c36f6090a6ea5e449bb6b;hp=122e000defeaad94c501755b663d34295b8596ff;hpb=62db84890942adc918c5550d98448951e6e78942;p=swftools.git diff --git a/pdf2swf/SWFOutputDev.cc b/pdf2swf/SWFOutputDev.cc index 122e000..c6ad24e 100644 --- a/pdf2swf/SWFOutputDev.cc +++ b/pdf2swf/SWFOutputDev.cc @@ -59,10 +59,6 @@ int pagepos = 0; static void printInfoString(Dict *infoDict, char *key, char *fmt); static void printInfoDate(Dict *infoDict, char *key, char *fmt); -static char userPassword[33] = ""; -static GBool printVersion = gFalse; -static GBool printHelp = gFalse; - double fontsizes[] = { 0.833,0.833,0.889,0.889,0.788,0.722,0.833,0.778,0.600,0.600,0.600,0.600,0.576,0.576,0.576,0.576 @@ -812,6 +808,7 @@ int SWFOutputDev::setT1Font(char*name, FontEncoding*encoding) return 0; this->t1id = id; + return 1; } void SWFOutputDev::updateLineWidth(GfxState *state) @@ -1320,6 +1317,11 @@ void pdfswf_linksopennewwindow() opennewwindow = 1; } +void pdfswf_storeallcharacters() +{ + storeallcharacters = 1; +} + void pdfswf_jpegquality(int val) { if(val<0) val=0;