From 83d65b72d5f4619f9e25b7d9a5df726b09731396 Mon Sep 17 00:00:00 2001 From: kramm Date: Mon, 22 Oct 2001 15:40:39 +0000 Subject: [PATCH] * added global variables for setting options * added translation functions in SWFFont --- pdf2swf/swfoutput.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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); }; -- 1.7.10.4