From: kramm Date: Mon, 22 Oct 2001 15:40:39 +0000 (+0000) Subject: * added global variables for setting options X-Git-Tag: release-0-0-2~34 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=83d65b72d5f4619f9e25b7d9a5df726b09731396;p=swftools.git * added global variables for setting options * added translation functions in SWFFont --- diff --git a/pdf2swf/swfoutput.h b/pdf2swf/swfoutput.h index 3351f60..0540d81 100644 --- a/pdf2swf/swfoutput.h +++ b/pdf2swf/swfoutput.h @@ -15,6 +15,11 @@ extern "C" { #include "../lib/rfxswf.h" } + +extern int ignoredraworder; //default:0 +extern int drawonlyshapes; //default:0 +extern int jpegquality; //default:100; + typedef long int twip; struct swfmatrix { @@ -35,6 +40,10 @@ class SWFFont char*name; int charnum; + U16*char2swfcharid; + U16*swfcharid2char; + int swfcharpos; + public: int t1id; @@ -44,6 +53,7 @@ class SWFFont SWFFont(char*name, int t1id, char*filename); SWFFont::~SWFFont(); T1_OUTLINE*getOutline(char*charname); + int getSWFCharID(char*name); char*getName(); char*getCharName(int t); };